Moving around in Neovim
Basic movements
Moving around in Neovim is pretty easy so this will not be a long tutorial!
To move around in Neovim you need to be in the 'Normal mode' where you cannot type anything.
- Move left - h
- Move right - l
- Move up - k
- Move down - j
Moving around in Neovim is not that hard as you can see! It might feel weird now but the more you use Neovim the more you get used to it. Now lets move onto some of the more advanced movements.
Tip: You can press a number and a movement key to go to where you want, for example, 4k to move four spaces up or 4j to move four spaces down.Spesific movements on words
These are movements on individual sentances.
- Move to the start of the next word - w
- Move to the start of the previous word - b
- Move to the end of the current word - e
Spesific movements
To go to spesific parts of the file is pretty easy.
- Move to the top - gg
- Move to the bottom - G
- Move to spesific line - 2G
- Move to the top of the screen - H
- Move to the middle of the screen - M
- Move to the bottom of the screen - L
- Move to the start of the line - 0
- Move to the end of the line - $
That is all now you know how to move around in Neovim!
Back Next