At least make Vim usable... Enjoy the pain
- (try not to navigate with direction keys) ← → ↑ ↓
h
/j
/k
/l
: ←/↓/↑/→b
/B
: go to the start of the previous word/Wordw
/W
: go to the start of the following word/Word
i
: switch to insert-mode under the cursor- *
yy
/Y
: yank(copy) a line with/without last \r - *
dd
/D
: delete(cut) a line with/without last \r - *
cc
/C
: change(cut and enter insert mode) a line p
/P
: paste yanked or cut things under/before cursor
<ECS>
/Ctrl+[
: back to normal mode when you done typing
press <enter> after typing
:w
: write(save) the file:q
: quit:x
: save and quit(=:wq
)
u
: undoctrl-r
: redo