jeudi 24 septembre 2009

Vim tips of the day : snippets, autocomplete and menus

I love being lazy when it comes to text editing. So, I loved
OmniComplete and Snippets plugins :

- snipMate : http://www.vim.org/scripts/script.php?script_id=2540 :
TextMate snippets, the Vim way (very good, easy textmate -> snipMate
conversion)
- snippetsEmu : http://www.vim.org/scripts/script.php?script_id=1318 :
just the same, older and probably a bit less reliable. Good anyway.

Vim is the kind of software you can learn everyday something about.
Today, I just found this new http://vim-fr.org site, which referenced
some neat plugins / options :

- ":set wildmenu" : simply another completion system for the Vim command
mode. Very nice and useful.

- AutoComplPop : http://www.vim.org/scripts/script.php?script_id=1879 :
this plugin simply enables the OmniComplete menu in insert mode, while
typing. Defaults settings are a bit intruding but can be changed
easily.

:wq