Tony Mechelynck wrote:
> On 05/12/08 10:43, Sergio Acosta wrote:
>> I think you might find useful taking those sections out of your .vimrc
>> and putting them in filetype plugins.
>>
>> :h filetype
>>
>> On Dec 5, 2008, at 12:42 AM, Steve Laurie wrote:
> [...]
> 
> Yes indeed. Steve, you really should read that helpfile; but in a 
> nutshell, place your "special" sections by filetype each in its own 
> file, name the file by the filetype followed by .vim, don't forget to 
> use ":setlocal" rather than ":set" and ":map <buffer>" rather than plain 
> ":map", and drop the files, for Windows in 
> $HOME/vimfiles/after/ftplugin/ or for Unix in 
> $HOME/.vim/after/ftplugin/. Create any not-yet-existing directory as you 
> go along.
> 
> 
> Best regards,
> Tony.

Thanks very much Tony and Sergio. Just what I was looking for.
It works wonderfully.

Cheers,
Steve



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

Reply via email to