Sunteți pe pagina 1din 1

bash-support.

vim
V ERSION 3.8

V IM -P LUGIN

\xm \pan \pal \pas \pb \pc \pd \pg \pl \ppr \ppu \ps \pu \pw \px \nr \nw \ne \ntl \ntg \ntr \nts \rr \ra \rc \rco \rd \re \rba \rh \rs \rt \ro \hb \hh \hm \hbs \lbs \ubs

H OT KEYS
Key mappings for Vim and gVim. Plugin: http://vim.sourceforge.net Fritz Mehner (mehner@fh-swf.de) (i) insert mode, (n) normal mode, (v) visual mode

[n]\cl [n]\cj

\cs \cfr \cfu \ch \ckb \ckt \ckr \ckw \ckn [n]\cc \cd \ct \ce \cr \css \ckc \cv \sc \sei \sf \sfo \si \sie \ss \st \sw \sfu \se \sp \sa \saa \sa1 \ssa \san \sai \t1 \t2

Comments end-of-line comment (n, i, v) adjust end-of-line comments (n, i, v) set end-of-line comment column (n) frame comment (n, i) function description (n, i) le header (n, i) keyword BUG (n, i) keyword TODO (n, i) keyword TRICKY (n, i) keyword WARNING (n, i) keyword: new keyword (n, i) toggle comment (n, i, v) date (n, i, v) date & time (n, i, v) echo "<line>" (n, i) remove echo (n, i) script sections (tab compl.) (n,i) keyword comment (tab compl.) (n,i) vim modeline (n, i) Statements case in ... esac (n, i) elif then (n, i) for in do done (n, i, v) for ((...)) do done (n, i, v) if then fi (n, i, v) if then else fi (n, i, v) select in do done (n, i, v) until do done (n, i, v) while do done (n, i, v) function (n, i, v) echo -e "" (n, i, v) printf "%s" (n, i, v) array element ${.[.]} (n, i, v) arr. elem.s (all) ${.[@]} (n, i, v) arr. elem.s (1 word) ${.[*]} (n, i, v) subarray ${.[@]::} (n, i, v) no. of arr. elem.s ${.[@]} (n, i, v) list of indices ${.[*]} (n, i, v) Test unary operator, 1 arg.: [ - ] (n, i) binary operator, 2 arg.: [ - ] (n, i)

Regular Expressions match: [[ =~ ]] (n, i) POSIX Character Classes [:alnum:] (n, i) [:alpha:] (n, i) [:ascii:] (n, i) [:blank:] (n, i) [:cntrl:] (n, i) [:digit:] (n, i) [:graph:] (n, i) [:lower:] (n, i) [:print:] (n, i) [:punct:] (n, i) [:space:] (n, i) [:upper:] (n, i) [:word:] (n, i) [:xdigit:] (n, i) Snippets read code snippet (n, i) write code snippet (n, v, i) edit code snippet (n, i) edit local templates (n, i) edit global templates 1 (n, i) reread the templates (n, i) switch template style (n, i) Run update le, run script (n, i, v2 ) set script command line arguments (n, i) update le, check syntax (n, i) syntax check options (n, i) 2 start debugger (n, i) make script executable2 (n, i) set Bash command line arguments (n, i) hardcopy buffer (n, i, v) settings and hotkeys (n, i) set xterm size2 (n, i, GUI only) change output destination (n, i) Help Bash manual (n, i) help (Bash builtins) (n, i) manual (command line utilities) (n, i) Bash-support plugin (n, i) Menu(s) load menus (n & GUI only) unload menus (n & GUI only) Additional Mappings
expansion single quotes around a WORD double quotes around a WORD (n) (n)

typing
""

1 2

system-wide installation only Linux/U**x only

November 2011

bash-support.vim

Page 1 / 1

S-ar putea să vă placă și