diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/shortcuts.txt | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt index c85b640..fd21674 100644 --- a/doc/shortcuts.txt +++ b/doc/shortcuts.txt | |||
@@ -52,6 +52,16 @@ qa = start (q) macro recording in register a (can be anything) | |||
52 | q = stop macro recording | 52 | q = stop macro recording |
53 | @a = replay macro a | 53 | @a = replay macro a |
54 | :'<,'>normal @a = apply a to every line in the current selection | 54 | :'<,'>normal @a = apply a to every line in the current selection |
55 | :reg = lists all registers (including those with macros in them) | ||
56 | |||
57 | [registers] | ||
58 | notice, that registers get used for both: macro recordings and copying text | ||
59 | |||
60 | :reg = shows contents of all registers | ||
61 | "0p = pasts from register 0, which is the same as "", but not overwritten by dd | ||
62 | "ap = same for register a | ||
63 | "0yy = yanks to register 0 (same as y by itself) | ||
64 | "ay = yanks current selection to register a (in visual mode) | ||
55 | 65 | ||
56 | 66 | ||
57 | [marker] | 67 | [marker] |
@@ -90,7 +100,22 @@ z= = show spellcheck suggestions | |||
90 | 100 | ||
91 | [special] | 101 | [special] |
92 | g CTRL-g = display file properties including word and char count | 102 | g CTRL-g = display file properties including word and char count |
93 | CTRL-X CTRL-F = display file name completions using (vim-internal) omnicomplete | 103 | q: = show command history and use it like a normal buffer |
104 | |||
105 | |||
106 | [completions] | ||
107 | CTRL-O = display completions: omnicomplete (context dependant completions) | ||
108 | |||
109 | CTRL-X CTRL-F = display completions: file name (using vim-internals omnicomplete) | ||
110 | CTRL-N CTRL-P = display completions: file keywords | ||
111 | CTRL-K = display completions: dictionary | ||
112 | CTRL-T = display completions: thesaurus | ||
113 | CTRL-I = display completions: include files | ||
114 | CTRL-] = display completions: tags | ||
115 | CTRL-D = display completions: (marcro-) definitions | ||
116 | CTRL-V = display completions: vim command line | ||
117 | CTRL-U = display completions: user-defined | ||
118 | |||
94 | 119 | ||
95 | 120 | ||
96 | [netrw] | 121 | [netrw] |