sponsor Vim development Vim logo Vim Book Ad

fortune.vim : put a signature file at end of e-mail (BRAM)

 script karma  Rating 6/3, Downloaded by 2381  Comments, bugs, improvements  Vim wiki

created by
adam seyfarth
 
script type
utility
 
description
This macro will add a signature (from
~/.fortunes) to the end of a file.
(preferably an e-mail) This script
was copied from a macro from:
http://www.moolenaar.net which was
made by Bram Moolenaar.  I changed it
so it would stick on the sig then
quit.
 
install details
just put this at the end of your .vimrc:

     $ cat fortune.vim >> ~/.vimrc

or source it from your .vimrc:

     $ cat fortune.vim | tail

        ...
        source fortune.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
fortune.vim 1.5 2001-08-29 6.0 adam seyfarth much much better in general, moved to a function...
added rotating, to make sure not to offend people :-)
fortune.vim 0.5 2001-06-04 5.7 adam seyfarth Initial upload
ip used for rating: 3.239.59.193

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