sponsor Vim development Vim logo Vim Book Ad

vimfortune : Show random tips when launching VIM

 script karma  Rating 15/8, Downloaded by 1027  Comments, bugs, improvements  Vim wiki

created by
key
 
script type
utility
 
description
This simple script shows you a random tip using 'fortune' program when launching VIM
without specifying filename(s) to edit(ie. '%vim' and not '%vim foobar.c').
You can also explicitly view a tip by typing
:TIPS
or
:!fortune vimtips

Included are pre-formatted datafiles converted from the vim tips available from:
http://vim.sourceforge.net/tips/download.php
 
install details
You should have 'fortune' installed (normally, you already have one if using un*x-like OS).
Copy the datafiles to the data directory of fortune, and the script to the script directory of VIM.
Example:
% cp vimtips vimtips.dat /usr/share/games/fortune
% cp vimfortune.vim ~/.vim/plugin
 

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
vimfortune-011.tgz 0.1.1 2002-05-14 6.0 key Initial upload
ip used for rating: 18.226.251.22

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