Basic VIM shortcuts and movements

I thought it would be beneficial to have a record of the most commonly used VIM shortcuts. I am not a VIM expert but I am proudly using it almost every day on servers across different environments (OSX, Ubuntu, CentOS) without any special configuration (I know with that it could be even more powerful – one day may be).

Select – Cut and Paste:
Mode: visual
Keys: Shift + V to select lines, Arrows to moving up and down, d for cut, p for paste

Select – Copy and Paste
Mode: visual
Keys: Shift + P to select lines, Arrows to moving up and down, y for copy, p for paste

Jump to end of the current line
Mode: visual
Key: $

Jump to the end of the current line and append
Mode: visual
Keys: Shift + a OR A

Undo last action
Mode: visual
Key: u

Jump to the end of the file
Mode: visual
Keys: Shift + g OR G

Entering to browsing mode
Command: :E

Leave a Reply