aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/shortcuts.txt21
1 files changed, 17 insertions, 4 deletions
diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt
index daf9003..79d3027 100644
--- a/doc/shortcuts.txt
+++ b/doc/shortcuts.txt
@@ -10,6 +10,18 @@ gf = open file under cursor
10<C-w>] = jump to the tag under the cursor in a new window 10<C-w>] = jump to the tag under the cursor in a new window
11<C-t> = jump back from where that ^ brought you 11<C-t> = jump back from where that ^ brought you
12K = keyword lookup for the word under the cursor (see :help kp) 12K = keyword lookup for the word under the cursor (see :help kp)
13w = next word
14e = end of word (=inner word)
15
16
17@see: :h text-objects
18ci' = change between single quote
19ci" = change between double quote
20ci( = change between brace
21cit = change XML Tag
22ciw = select inner word
23caw = select 'a word'
24" where c can be replaced by v for visual mode
13 25
14 26
15 27
@@ -67,9 +79,6 @@ zR = opens all folds (unfold all)
67zE = eliminates all folds 79zE = eliminates all folds
68z= = show spellcheck suggestions 80z= = show spellcheck suggestions
69 81
70[vim modeline]
71the last line can be a mode line, which holds settings like tab width:
72
73 82
74[buffers] 83[buffers]
75:bn = buffer next 84:bn = buffer next
@@ -89,5 +98,9 @@ gn = makes the directory under the cursor the root directory
89a = toggles display of hidden files 98a = toggles display of hidden files
90 99
91 100
101[vim modeline]
102filetype can have multiple values, like python.django
103The last line can be a mode line, which holds settings like tab width:
104
92 105
93# vim: noai:ts=2:sw=2 filetype=dosini 106# vim: noai:ts=2:sw=2 filetype=dosini.text
..