Hello, "Nicolas Sebrecht" <[email protected]> wrote :
> On Tue, Feb 10, 2009 at 09:45:10PM +0100, Luc Hermitte wrote: > > > I have an old mail ftplugin that takes care of this, check: > ^^^ > Should I be scared ? Well ... that a tough question. ^^' > > http://vim.sourceforge.net/scripts/script.php?script_id=46 > > (the last version being bundled in the following archive) > > http://hermitte.free.fr/vim/ressources/lh-mail.tar.gz > > Downloaded and "tried". It looks like to be exactly what I need. > > > On the To:, Cc:, ... lines, type a regex, then <tab>, and finally > > select the contact(_S_) you want on insert. And that's all. > > I couldn't have it working for now. Copying both ftplugin/* and > plugin/ into ~/.vim isn't enough. I've read the comments at > the beginning of ftplugin/mail/Mail_mutt_alias_set.vim. > The installation seems ok but the > tab completion still fails (by adding a tabulation \t). What error message do you observe ? IIRC, the ftplugin expects the aliases file to be formatted with \t between each field. > I've tried to copy a-old.vim to a.vim in case but it didn't help. > > What am I missing ? > > By the way, is it possible to set more than one single aliases file ? It shouldn't be very complex, however you'll have to hack into the ftplugin to make it work that way. -- 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 -~----------~----~----~----~------~----~------~--~---
