Starting with Vim - The Absolute Basics
-
i
Insert Mode , for notepad style text editing -
esc
Command Mode , for running any of the following commands -
v
Visual Mode , to select text -
h
j
k
l
Move cursor left, down, up, right -
d
Cut -
y
Copy -
p
Paste -
u
Undo -
ctrl + r
Redo -
:w
Save -
:q
Quit -
/ + target
Find -
n
Find next -
N
Find previous -
:%s/target/replacement/gc
Find and replace, globally, with confirmation
To learn more, go to http://vim.wikia.com . Use the search functionality.