sponsor Vim development Vim logo Vim Book Ad

Random Tip Displayer : display random of "Best Vim tips"

 script karma  Rating 15/9, Downloaded by 1275  Comments, bugs, improvements  Vim wiki

created by
Mikolaj Sitarz
 
script type
utility
 
description
This Vim script allows: viewing, downloading, and displaying random position of "Best Vim Tips" from the page:
http://rayninfo.co.uk/vimtips.html (see: vimtip #305)


Usage:

<Leader>gt (or :call GetVimTips()) - download and parse "Best Vim Tips". File is saved in ~/.vim/vimtips.txt (~/vimfiles/vimtips.txt under windows)

<Leader>dt (or :call DisplayVimTips()) - display "Best Vim Tips" in separate buffer (download it, if the file is not present)
  
<Leader>rt (or :call DisplayRandomTip()) - display random position in vimtips.txt (download if necessary)
 
install details
After unpacking archive, copy files vimtips.vim and random.vim into ~/.vim/plugins (~/vimfiles/plugins)
 

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
rndtips-0.2.tar.gz 0.2 2007-03-17 6.0 Mikolaj Sitarz - improved parsing
- added possibility of using python to download file instead of netrw
rndtips-0.1.tar.gz 0.1 2007-03-02 6.0 Mikolaj Sitarz Initial upload
ip used for rating: 216.73.216.130

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github