diff options
Diffstat (limited to 'doc')
| -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 |
