#
# Most of the tips below are taken from `vilearn` NetBSD package
# <
https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/editors/vilearn/>
#
# Tips apply to Vim as well
#
BASICS
======
:q! force quit
ZZ good bye
^D down
^U up
h left
j down
k up
l right
dd delete line
x x-out character
u undo
o open
i insert
MOVEMENT
========
w W word
b B back
e E end
{ } paragraph
( ) sentence
[ ] sections
$ end of line
^ first non-white
| column
0 beginning of line
f F find
t T to
; repeat fFtT
, reverse fFtT
G goto
H high
M middle
L low
n N next
? / regex
% match
' move to marked line
m mark
CUT/PASTE
=========
d D deletes
y Y yank
p P put
" buffer
:e edit
INSERTING
=========
a A append
c C change
i I insert
o O open
r R replace
s S substitute
J join
TIPS
====
~ case
u U undo
do again
^B back
^F forward
^E down line
^Y up line
^G status
^L refresh
^Z suspend
! command
< > shift