Saluton Gary Johnson :)

On Tue 24 Feb 2009 @20:22 +0100 Gary Johnson dixit:
> The only reason to use an autocommand within a filetype plugin is to
> catch some event that occurs after the filetype plugin is sourced.
>
> In your particular case, just put
>
>    /pattern/s/something/otherthing/
>
> in ~/.vim/after/ftplugin/mail.vim, as you said you're doing at the
> moment.

Thanks for confirming. You may not notice if you're not used to the
default GMail attributions, but the attribution of this email has been
tweaked (changed date format, added timezone, no email address) and a
salutation has been included, using no autocommands, just adding the
needed commands to ~/.vim/after/ftplugin/mail.vim

Raúl "DervishD" Núñez de Arenas Coronado

Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

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

Reply via email to