Hello,
* On Mon, Sep 25, 2006 at 02:41:51PM +0200, Marius Roets <[EMAIL PROTECTED]>
wrote:
> I have a in my plsql.vim filetype plugin a lot of abbreviations to the
> effect of :
> iabbrev <buffer> then THEN
> iabbrev <buffer> else ELSE
> ...
> etc.
A while back, I implemented a plugin specialised in toggling almost
everything like the definitions from a VimL function.
It seems I haven't released the lastest version on sourceforge. However
you can obtain it from here:
http://hermitte.free.fr/vim/ressources/Triggers.tar.gz
The documentation can be found there:
http://hermitte.free.fr/vim/general.php#expl_triggers
> The idea is that some companies' coding standards expect me to use
> capitalized keywords. Personally I hate capitalized keywords (it
> reminds me of BASIC programming). So I was wondering if there was a
> way where I could turn a set of abbreviations on and off, on the fly,
> without reloading the buffer.
Won't you be more interrested in definitions local to projects ?
I.e. all files under a directory will have some specialized mappings,
abbreviations, .... And files under another directory will have other
specialized abbreviation ...
This issue has been discussed here a couple or week, may be less.
HTH,
--
Luc Hermitte
http://hermitte.free.fr/vim/