Use of Vim
1 command mode, edit mode, last line mode, command mode is the broker of edit mode and last line mode.
Vim Common commands
I: Enter edit mode
YY: Copy cursor row copy multiple lines: Digital +yy
P: Paste, paste multiple times: digital +p
DD (delete, cut), cut or delete multiple lines: Digital +DD
V: Select multiple rows
Up and down: K: Up, J: down, L: Right, H: Left equals direction key
x: Delete a letter from the past
X: Remove a letter from the back and forth
U: Undo
SHIFT +;: Indent right
Shift + <: Indent left
.: Repeat Last Action
G: Back to the last line
GG: Back to the first line 1G
18G: Return to the specified line
SHIFT + 4: Back to the end of the line
SHIFT + 6: Back to the beginning of the line
Search::/1 N: See what's Next, N: See what you found in the previous search
Replacement::%s/1/2/g%: Entire file, S: Replace G: Global
Ctr+f: Next Page
Ctr+b: Prev
: Wq,: x: Save exit
Some basic commands for VIM