Navigation Flashcards
Move Up
k
Move Down
J
Move Right
l
Move Left
h
Move to end of the next word
e
Move to start of the next word
w
Move to the beginning of the line
^ or 0
Move to the end of the line
$
Page Up
Ctrl + b
Page Down
Ctrl + f
Move to end of file
G or :$
Move to start of file
gg or :1
Motion: end of word without whitespace
e
Motions: end of word with whitespace
w
Motion: Start of word with whitespace
b
Move cursor to top line in Window
H
Move cursor to bottom line in Window
L
Move current line the cursor is on to top of the window
zt
Move current line the cursor is on to bottom of the window
zb
Copy to line register
“xyy (where x is the register to copy to)
Paste a register
“xp (where x is the register to paste)
Add a mark
mq
Go to next mark
‘q
Start recording a macro
qx (where x is the register to copy to)