Hello,

"sc" <[EMAIL PROTECTED]> wrote:

> but Pento:  you've written 18 lines of function to save about 4 lines
> in .vimrc -- seems like a net loss to me

I did much worse [1]. However, my aim was to be able to generate
mappings and menus entries for several modes at once.

For one very simple mapping like this one, we don't see the gain, 
however, when we start to have something like 15-20 mappings for 2-3 
filetypes, the gain is quite visible.
Hence, this is a need I understand quite well. 


[1] http://code.google.com/p/lh-vim/wiki/lhVimLib#Menus_related_functions

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

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to