- Published on
Cheat Sheet: VIM commands/shortcuts
- Authors
- Name
- Loi Tran
Must know Vim Shortcuts
Jump to top of screen
HJump to middle of screen
MJump to bottom of screen
LJump to beginning of file
ggJump to end of file
GGJump to end of line
$Jump to beginning of line
0Move to beginning of next word
wMove to end of current word
eMove to beginning of previous word
bDelete from cursor to end of line
DDelete entire line
ddDelete from cursor to line number 100.
:,100dUndo last command
uCopy from vim editor to system clipboard and to paste
" * y
Move line up one line
ddkPMove line down one line
ddpCopy selected to global clipboard
"*y