diff options
author | Max Christian Pohle | 2016-11-05 22:14:01 +0100 |
---|---|---|
committer | Max Christian Pohle | 2016-11-05 22:14:01 +0100 |
commit | 4eaae3ff84995bce605f4c3553ad511a179d0c4b (patch) | |
tree | 7be7c81c73df5ab957340e71710b57b0bfe8d021 /doc/shortcuts.txt | |
parent | 30b7055bf6ce68999059154058c2db74eb01a445 (diff) | |
download | vim-karlmarks-4eaae3ff84995bce605f4c3553ad511a179d0c4b.tar.bz2 vim-karlmarks-4eaae3ff84995bce605f4c3553ad511a179d0c4b.zip |
Added ikeymap: <leader><leader> for autosnipets
<leader><leader> lists all possible completions, <leader><tab>
automatically inserts first snippet. This feature depends on the
filetype (set ft). The filetype can have two values simultaneously,
in which case the separator is a dot, like in html.django or html.css.
Diffstat (limited to 'doc/shortcuts.txt')
-rw-r--r-- | doc/shortcuts.txt | 21 |
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 |
12 | K = keyword lookup for the word under the cursor (see :help kp) | 12 | K = keyword lookup for the word under the cursor (see :help kp) |
13 | w = next word | ||
14 | e = end of word (=inner word) | ||
15 | |||
16 | |||
17 | @see: :h text-objects | ||
18 | ci' = change between single quote | ||
19 | ci" = change between double quote | ||
20 | ci( = change between brace | ||
21 | cit = change XML Tag | ||
22 | ciw = select inner word | ||
23 | caw = 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) | |||
67 | zE = eliminates all folds | 79 | zE = eliminates all folds |
68 | z= = show spellcheck suggestions | 80 | z= = show spellcheck suggestions |
69 | 81 | ||
70 | [vim modeline] | ||
71 | the 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 | |||
89 | a = toggles display of hidden files | 98 | a = toggles display of hidden files |
90 | 99 | ||
91 | 100 | ||
101 | [vim modeline] | ||
102 | filetype can have multiple values, like python.django | ||
103 | The 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 |