From 4eaae3ff84995bce605f4c3553ad511a179d0c4b Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sat, 5 Nov 2016 22:14:01 +0100 Subject: Added ikeymap: for autosnipets lists all possible completions, 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. --- doc/shortcuts.txt | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'doc/shortcuts.txt') 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 ] = jump to the tag under the cursor in a new window = jump back from where that ^ brought you K = keyword lookup for the word under the cursor (see :help kp) +w = next word +e = end of word (=inner word) + + +@see: :h text-objects +ci' = change between single quote +ci" = change between double quote +ci( = change between brace +cit = change XML Tag +ciw = select inner word +caw = select 'a word' +" where c can be replaced by v for visual mode @@ -67,9 +79,6 @@ zR = opens all folds (unfold all) zE = eliminates all folds z= = show spellcheck suggestions -[vim modeline] -the last line can be a mode line, which holds settings like tab width: - [buffers] :bn = buffer next @@ -89,5 +98,9 @@ gn = makes the directory under the cursor the root directory a = toggles display of hidden files +[vim modeline] +filetype can have multiple values, like python.django +The last line can be a mode line, which holds settings like tab width: + -# vim: noai:ts=2:sw=2 filetype=dosini +# vim: noai:ts=2:sw=2 filetype=dosini.text -- cgit v1.2.3