aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Christian Pohle2017-02-20 03:50:37 +0100
committerMax Christian Pohle2017-02-20 03:50:37 +0100
commit4d4cc837bbf0cbfe35ff4ec642d7c6bafb3a3fe6 (patch)
tree2e7ff215da79698af9aa8011f1ccc32aba963575 /doc
parent0b2a2635c3ba74a73ca417fc8c4251134ca255fd (diff)
downloadvim-karlmarks-4d4cc837bbf0cbfe35ff4ec642d7c6bafb3a3fe6.tar.bz2
vim-karlmarks-4d4cc837bbf0cbfe35ff4ec642d7c6bafb3a3fe6.zip
Improved and partly fixed autocompletion
and added some shortcuts
Diffstat (limited to 'doc')
-rw-r--r--doc/shortcuts.txt27
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)
52q = stop macro recording 52q = 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]
58notice, 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]
92g CTRL-g = display file properties including word and char count 102g CTRL-g = display file properties including word and char count
93CTRL-X CTRL-F = display file name completions using (vim-internal) omnicomplete 103q: = show command history and use it like a normal buffer
104
105
106[completions]
107CTRL-O = display completions: omnicomplete (context dependant completions)
108
109CTRL-X CTRL-F = display completions: file name (using vim-internals omnicomplete)
110CTRL-N CTRL-P = display completions: file keywords
111CTRL-K = display completions: dictionary
112CTRL-T = display completions: thesaurus
113CTRL-I = display completions: include files
114CTRL-] = display completions: tags
115CTRL-D = display completions: (marcro-) definitions
116CTRL-V = display completions: vim command line
117CTRL-U = display completions: user-defined
118
94 119
95 120
96[netrw] 121[netrw]
..