sponsor Vim development Vim logo Vim Book Ad

mutt-aliases : another script to read your mutt aliases file

 script karma  Rating 2/2, Downloaded by 996  Comments, bugs, improvements  Vim wiki

created by
Paul Miller
 
script type
utility
 
description
I either wasn't happy with or unable to operate the mutt aliases scripts I found on this site, so I wrote my own.  It reads your aliases from g:mutt_aliases_file (global var), or from the file indicated in ~/.muttrc, or from ~/.aliases.

It stores them in a complete function, which can be activated with either

    i_CTRL-X-CTRL-U  (see :help i_CTRL-X-CTRL-U)

or via an insert mode macro "@@".
 
install details
To install this script, put it somewhere in your ~.vim/ directory, or heck, any other place you'd like.  Then add lines to source the script at appropriate times, e.g:

    au BufRead /tmp/mutt-* source ~/.vim/scripts/mutt-aliases.vim
    au BufRead ./example.file source ./mutt-aliases.vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
mutt-aliases.vim 0.93 2009-07-21 6.0 Paul Miller I had a couple bugs and some leftover code that wasn't necessary.

I also made the [aliasname] show in the list of choices.
mutt-aliases.vim 0.92 2009-07-20 6.0 Paul Miller I made a couple little tweaks to this.  Nothing particularly special.
mutt-aliases.vim 0.91 2009-07-19 6.0 Paul Miller made the address matching case insensitive
mutt-aliases.vim 0.9 2009-07-19 6.0 Paul Miller Initial upload
ip used for rating: 18.116.13.113

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github