sponsor Vim development Vim logo Vim Book Ad

muttaliasescomplete.vim : Omnicompletion for mutt aliases

 script karma  Rating 10/4, Downloaded by 717  Comments, bugs, improvements  Vim wiki

created by
Karsten B
 
script type
utility
 
description
This script adds an omnicompletion function that gets completion entries from a mutt aliases file. I tested only on GNU/Linux with vim 7.2, but it should work on other systems.

Please send comments, suggestions and patches to "dotfiles at kb dot ccchl dot de".
 
install details
Edit the following line in script:
let g:aliases_file = glob('~/.mutt/aliases')

Your .vimrc:
autocmd FileType mail set omnifunc=muttaliasescomplete#Complete
source path/to/muttaliasescomplete.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
muttaliasescomplete.vim 0.2 2009-09-01 7.0 Karsten B Several input files and improved file reading. Thanks to Valentin for the patch!
muttaliasescomplete.vim 0.1 2009-02-01 7.2 Karsten B Initial upload
ip used for rating: 18.118.1.158

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