User Tools

Site Tools


vim:vim_commands

VIM - VIM commands

Here are some basic commands:

eMove to the end of a word.
wMove forward to the beginning of a word.
3wMove forward three words.
bMove backward to the beginning of a word.
3bMove backward three words.
$Move to the end of the line.
0Move to the beginning of the line.
^Move to the first non-blank character of the line.
)Jump forward one sentence.
(Jump backward one sentence.
}Jump forward one paragraph.
{Jump backward one paragraph.
HJump to the top of the screen.
MJump to the middle of the screen.
LJump to the bottom of the screen.
20 or 20Move 20 pages up.
10 or 10Move 10 pages down.
GJump to end of file.
1GJump to beginning of file the same as gg.
10GJump to line 10.
'mJump to the beginning of the line of mark m.
`mJump to the cursor position of mark m.
''Return to the line where the cursor was before the latest jump.
``Return to the cursor position before the latest jump.
%Jump to corresponding item, e.g. from an open brace to its matching closing brace.
vim/vim_commands.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki