ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBVBWBXBYBZCACBCCCDCECFCGCHCICJCKCLCMCNCOCPCQCRCSCT
1
2
version 2.2
neovim/vim graphical cheat sheet - Colemak Mod-DH ISO
3
October 7th, 2018
4
Colemak-DH ISO
5
6
Esc
7
8
normal
mode
9
10
11
~toggle
case
!external
filter
play
macro
#prev
ident
$eol%goto
match
^"soft"
bol
&repeat
:s
*next
ident
(begin
sentence
)end
sentence
_"soft" bol
down
+next
line
12
13
goto
mark
12234567890"hard"
bol
-prev
line
=auto
format
3
14
15
16
Qex
mode
Wnext
WORD
F"back"
find char
Ppaste
before
Bback
WORD
Jjoin
lines
Lscreen
bottom
Uundo
line
Yyank
line
:ex cmd
line
{begin
parag.
}end
parag.
17
18
record
macro
wnext
word
ffind
char
ppaste
after
1bback
word
jluundoyyank1,3;repeat
t/T/f/F
miscmisc
19
20
21
Aappend
at eol
Rreplace
mode
Ssubst
line
back
'till
Geof/
goto line
KhelpNprev
(find)
Eend
WORD
Iinsert
at bol
Oopen ln
above
reg.
spec
1|bol/
goto col
22
23
aappendreplace
char
ssubst
char
'tillgextra
cmds
6knnext
(find)
eend
word
iinsert
mode
oopen ln
below
goto
mk. bol
leader
24
25
26
quit4Xback-
space
Cchange
to eol
1,3Ddelete
to eol
Vvisual
lines
find
(rev.)
Mscreen
mid'l
Hscreen
top
<un-
indent
3>indent3
27
28
extra
cmds
5xdelete
char
cchangeddelete1,3vvisual
mode
findset
mark
h,reverse
t/T/f/F
.repeat
cmd
29
30
31
32
33
motion
moves the cursor, or defines
Main command line commands ('ex'):
Notes:
34
the range for an operator
:w (save), :q (quit), :q! (quit w/o saving)
(1)
use "x before a yank/paste/del command
35
:e f (open file f)
to use that register ('clipboard') (x=a..z,*)
36
command
direct action command,
:%s/x/y/g (replace 'x' by 'y' filewide),
(e.g.: "ay$ to copy rest of line to register 'a')
37
ifwhite
, it enters insert mode
:h (help in neovim), :new (new file in neovim)
38
(2)
type in a number before any action
39
operator
requires a motion afterwards,
Other important commands:
to repeat it that number of times
40
operates between cursor & destination
CTRL-R: redo
(e.g.: 2p, d2w, 5i, d4j)
41
CTRL-F/-B: page up/down,
42
extra
special functions,
CTRL-E/-Y: scroll line up/down,
(3)
duplicate operator to act on current line
43
requires exta input
CTRL-V: block-visual mode
(dd = delete line, yy = yank line, >> = indent line)
44
45
commands with a dot need
Visual mode:
(4)
ZZ to save & quit, ZQ to quit w/o saving
46
a char argument afterwards
Move around and type operator to act
47
on selected region
(5)
zt: scroll cursor to top,
48
bol = beginning of line, eol = end of line,
zb: bottom, zz:center
49
mk = mark, yank = copy, char = character
50
parag = paragraph, cmd = command
(6)
gg: top of file,
51
gf: open file under cursor
52
words:
quux(foo,bar,baz);
53
54
WORDs:
quux(foo,bar,baz);
55
56
57
Google Doc version by mattmc3
https://github.com/mattmc3/neovim-cheatsheet
58
Credit to www.viemu.com for design
For tutorial and fulll cheat sheets, go to www.viemu.com - home of ViEmu, vi/vim emulation for Microsoft Visual Studio