These are pretty much the keys I use to move around in Vim (or Neovim).
Key | Explanation |
h | Move the cursor left. |
j | Move the cursor down. |
k | Move the cursor up. |
l | Move the cursor right. |
gg | Go to the first line of the document. |
G | Go to the last line of the document |
ctrl + u | Move the cursor and screen up 1/2 page. |
ctrl + d | Move the cursor and screen down 1/2 page. |
zz | Center the cursor on the screen. |
10k | Jump 10 lines up. |
10j | Jump 10 lines down. |
0 | Jump to the start of the line. |
$ | Jump to the end of the line. |
w | Jump forwards to the start of a word. |
b | Jump backward to the start of a word. |
fx | Jump to the next occurrence of character x. |
Fx | Jump to the previous occurrence of character x. |
Leave a Reply