Sunday, September 19, 2010

Re: Enabling/disabling abbreviations

Hello,

"Andre Majorel" wrote:

> What's the best approach to enabling/disabling a large subset
> (thousands) of the abbreviations ? Use "<expr>" and turn them
> all into functions that are no-ops when some global variable is
> set ?

The badly named Triggers.vim plugin I wrote ages ago answers this need:
-> http://code.google.com/p/lh-vim/source/browse/misc/trunk/plugin/Triggers.vim
(documented there: http://hermitte.free.fr/vim/general.php#expl_triggers)

You'll require system_tools and quite likely lh-vim-lib to make it work.

HTH,

--
Luc Hermitte
http://lh-vim.googlecode.com/
http://hermitte.free.fr/vim/

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: