vimfortune : Show random tips when launching VIM
script karma |
Rating 15/8,
Downloaded by 1127 |
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 |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.129
|