A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | AH | AI | AJ | AK | AL | AM | AN | AO | AP | AQ | AR | AS | AT | AU | AV | AW | AX | AY | AZ | BA | BB | BC | BD | BE | BF | BG | BH | BI | BJ | BK | BL | BM | BN | BO | BP | BQ | BR | BS | BT | BU | BV | BW | BX | BY | BZ | CA | CB | CC | CD | CE | CF | CG | CH | CI | CJ | CK | CL | CM | CN | CO | CP | CQ | CR | CS | CT | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 1 | 2 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | "hard" bol | - | prev line | = | auto format | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
14 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
15 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
16 | Q | ex mode | W | next WORD | F | "back" find char | P | paste before | B | back WORD | J | join lines | L | screen bottom | U | undo line | Y | yank line | : | ex cmd line | { | begin parag. | } | end parag. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
17 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
18 | q· | record macro | w | next word | f | find char | p | paste after | 1 | b | back word | j | ⬇ | l | ➡ | u | undo | y | yank | 1,3 | ; | repeat t/T/f/F | [· | misc | ]· | misc | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
19 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
21 | A | append at eol | R | replace mode | S | subst line | T· | back 'till | G | eof/ goto line | K | help | N | prev (find) | E | end WORD | I | insert at bol | O | open ln above | "· | reg. spec | 1 | | | bol/ goto col | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
23 | a | append | r· | replace char | s | subst char | t· | 'till | g | extra cmds | 6 | k | ⬆ | n | next (find) | e | end word | i | insert mode | o | open ln below | '· | goto mk. bol | \· | leader | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
24 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
25 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
26 | Z· | quit | 4 | X | back- space | C | change to eol | 1,3 | D | delete to eol | V | visual lines | ?· | find (rev.) | M | screen mid'l | H | screen top | < | un- indent | 3 | > | indent | 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
27 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
28 | z· | extra cmds | 5 | x | delete char | c | change | d | delete | 1,3 | v | visual mode | /· | find | m· | set 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 | if | white | , 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 | q· | 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: | q | u | u | x | ( | f | o | o | , | b | a | r | , | b | a | z | ) | ; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
53 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
54 | WORDs: | q | u | u | x | ( | f | o | o | , | b | a | r | , | b | a | z | ) | ; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 |