Vim Tips Wiki

Accolade/Misc tips

Revision as of 18:17, March 19, 2013 by Accolade (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
1,616pages on
this wiki

Answers to (potentially recurring) questions in #vim on freenode. And similar stuff…

Plugins ranked by popularity/dissemination Edit

Python autocompletion Edit

Auto completion for Python:

Temporary self-destroying harakiri brainf*ck mapping Edit

:map <Leader>h :cmap <lt>CR> <lt>CR><lt>C-w>o:cunmap <lt>lt>CR><lt>CR><CR>:h<space> 

This example makes only one c_<CR> make the :help window fill the whole Vim window.

One of the numerous <CR>s has to be double-escaped (<lt>lt>CR>) in order to pass it through 2 nested mappings.

(TODO: indent with line-continuations

Around Wikia's network

Random Wiki