Simple Movement Commands in VIM
The real power of vim shines when you get familiar to the movement commands used in vim. If you are using other text editors then you will use your mouse to move from one place to another which reduces your efficiency.
Knowing different movement commands of VIM will make your text editing easy, fast and enjoyable.
We will not dive deep into these commands because learning VIM in small steps is easy and you will be able to concentrate well.
Move to the top of the document
You can be at any place in your document and if you want to go to the top of the page.
Move to the end of the document
You can be at any place in your document and want to go to the end of the document.
- First press Shift
- Then press g
Shift + g
Move one line down
If you want to move one line down from your current cursor position.
Move one line up
If you want to move one one up from your current position.
Move one character left
If you want to move one character left from the current cursor position.
Move one character right
If you want to move one character right form the current cursor position.