From 4d4cc837bbf0cbfe35ff4ec642d7c6bafb3a3fe6 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 20 Feb 2017 03:50:37 +0100 Subject: Improved and partly fixed autocompletion and added some shortcuts --- doc/shortcuts.txt | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'doc') 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) q = stop macro recording @a = replay macro a :'<,'>normal @a = apply a to every line in the current selection +:reg = lists all registers (including those with macros in them) + +[registers] +notice, that registers get used for both: macro recordings and copying text + +:reg = shows contents of all registers +"0p = pasts from register 0, which is the same as "", but not overwritten by dd +"ap = same for register a +"0yy = yanks to register 0 (same as y by itself) +"ay = yanks current selection to register a (in visual mode) [marker] @@ -90,7 +100,22 @@ z= = show spellcheck suggestions [special] g CTRL-g = display file properties including word and char count -CTRL-X CTRL-F = display file name completions using (vim-internal) omnicomplete +q: = show command history and use it like a normal buffer + + +[completions] +CTRL-O = display completions: omnicomplete (context dependant completions) + +CTRL-X CTRL-F = display completions: file name (using vim-internals omnicomplete) +CTRL-N CTRL-P = display completions: file keywords +CTRL-K = display completions: dictionary +CTRL-T = display completions: thesaurus +CTRL-I = display completions: include files +CTRL-] = display completions: tags +CTRL-D = display completions: (marcro-) definitions +CTRL-V = display completions: vim command line +CTRL-U = display completions: user-defined + [netrw] -- cgit v1.2.3