key | description |
---|---|
ctrl + H | high (top) |
ctrl + M | middle |
ctrl + L | low (bottom) |
shift + ^ | begin of line |
shift + $ | end of line |
ctrl + f | scroll down 1 page |
ctrl + b | scroll up 1 page |
ctrl + d | scroll down 1/2 page |
ctrl + u | scroll up 1/2 page |
w | next word |
b | last word |
e | end of word |
:$ | end of file |
/searchtext | search text |
key | description |
---|---|
o | open/insert new line below |
dd | delete line |
yy | copy line |
p | duplicate/paste at next line |
u | undo |
ctrl+r | redo |
ESC | description |
---|---|
:wq | save and quit |
:x | save and quit |
:q! | quit |