Raúl Núñez de Arenas Coronado wrote:
> Saluton Patrick :)

hmm.. esperantista?

> Patrick Gen-Paul  <[email protected]> skribis:
>> Currently, I append them to my ~/.vimrc but I guess it would be
>> preferable to place them in a separate file (or files) and source it
>> via commands in my vimrc?
>>
>> Or, should I create a plugin for each function (or functionally
>> related functions) and place the code in my ~/.vim/plugin directory?
> 
> My policy, which may be utterly wrong, is to put them in my ~/.vimrc if
> the function is generic (that is, not related to any particular
> filetype), and in some "after" file if it has to do with some particular
> filetype. Using a plugin for defining some functions is a bit overkill
> for me and would require much more effort than I'm willing to put ;)

Dunno if it's wrong but it makes excellent sense.

I guess one-liners could go into one's .vimrc, but anything much bigger
like 20-30 lines chunks would soon become unmanageable.

> I don't see any problem adding functions to ~/.vimrc directly, unless
> you have a great number of them. In such case, I would use something
> like ~/.vim/functions.vim and source it from ~/.vimrc, not for speed but
> for having them in just one place.

Sounds reasonable.

Thanks,

Gen-Paul.

P.S. [OT] What mailer do you use? Your signature comes out a different 
color, not that I mind.. just curious how it's done your end.

        




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

Reply via email to