How do I jump to any visible word with EasyMotion?
<leader><leader>w
vim-easymotion lets you jump to any visible position by highlighting targets with unique letters.
414 results for "G"
<leader><leader>w
vim-easymotion lets you jump to any visible position by highlighting targets with unique letters.
:'<,'>!awk '{print toupper($0)}'
Vim can pipe any visual selection through external Unix commands and replace the selection with the output.
visual-mode #visual-mode #external-command #awk #text-transformation
:'<,'>retab!
The :retab! command converts between tabs and spaces based on your expandtab setting.
<C-o> and <C-i>
Vim maintains a jump list of positions you have visited.
/[\x00-\x1f]
Files sometimes contain hidden control characters that cause subtle bugs.
:execute 'normal! ' . count . 'j'
The :execute command evaluates a string as an Ex command, enabling dynamic command construction.
gi
The gi command moves the cursor to the position where you last exited insert mode and immediately enters insert mode again.
navigation #navigation #insert-mode #marks #normal-mode #productivity
guiw
The guiw command converts the entire word under the cursor to lowercase.
gUiw
The gUiw command converts the entire word under the cursor to uppercase.
:set scrolloff=5
The scrolloff option keeps a minimum number of lines visible above and below the cursor when scrolling.
{N}%
The {N}% command jumps the cursor to the line that is N percent of the way through the file.
:earlier {time} / :later {time}
Vim's :earlier and :later commands let you navigate the undo history by wall-clock time rather than by individual undo steps.
editing #editing #undo-redo #ex-commands #advanced #productivity
<C-y>,
The emmet-vim plugin brings the full power of Emmet (formerly Zen Coding) to Vim, letting you type a short CSS-like abbreviation and expand it into a complete H
:Buffers
The fzf.
<C-v>jjr<C-k>12
Visual block mode combined with the replace command and digraph input lets you replace a column of characters with special Unicode characters.
<C-v>jjI\=printf('%02d ', line('.')-line("'<")+1)<CR><Esc>
By combining visual block insert with Vim's expression register, you can insert dynamically computed line numbers at the start of each selected line.
visual-mode #visual-mode #block-mode #line-numbers #expression-register
:Vexplore
Vim ships with netrw, a built-in file explorer that requires no plugins.
:%s/^/\=line('.').' '/
Vim's substitute command supports expressions in the replacement string using \=.
<Leader>tm
The vim-table-mode plugin by Dhruva Sagar turns Vim into a powerful table editor that automatically formats and aligns table columns as you type.
@a (within macro @b)
Vim macros can call other macros, enabling modular macro composition.