Beruflich Dokumente
Kultur Dokumente
Main
Shortcut Key
Function
Escape
Gets out of the current mode into the command mode. All keys are
bound of commands.
Function
j or Ctrl + J
k or Ctrl + P
w (lowercase)
W (uppercase)
5w
b (lowercase)
B (uppercase)
5b
gg
Function
[[
]]
[]
][
Insert Text
Shortcut Key
Function
a (lowercase)
A (uppercase)
Special Inserts
Shortcut Key
Function
:r [filename]
:r ![command]
Delete Text
Shortcut Key
Function
dw
delete a word.
d0
d$
d)
dgg
dG
dd
delete line
3dd
Function
r{text}
Copy/Paste Text
Shortcut Key
Function
yy
["x]yy
p (lowercase)
P (uppercase)
["x]p
["x]P
Undo/Redo Operation
Shortcut Key
Function
Ctrl + r
Function
/search_text
?search_text
n (lowercase)
N (uppercase)
:%s/original/replacement
Search for the first occurrence of the string original and replace it
with replacement
:%s/original/replacement/g
:%s/original/replacement/gc
Search for all occurrences of the string original but ask for
confirmation before replacing them with replacement
Bookmarks
Shortcut Key
Function
m {a-z A-Z}
:marks
`{a-z A-Z}
Select Text
Shortcut Key
Function
v (lowercase)
V (uppercase)
Esc
Function
Switch case
delete a word.
change
yank
>
shift right
<
shift left
Function
:q
:q!
:cq
:w
:w new_name
:wq
:wq!
ZZ
ZQ