sponsor Vim development Vim logo Vim Book Ad

vimtips_with_comments : a package of all tips from vim's homesite with all comments

 script karma  Rating 4/1, Downloaded by 1020  Comments, bugs, improvements  Vim wiki

created by
Vincent Wang
 
script type
utility
 
description
   Yes, we can get a tarball of vimtips from http://vim.sf.net/tip_download.php, but there are several things missing, for example, there is no comments and no rate record. But they are really very helpful especially when there are many tips in the tip's comments inspired by the current tip. And the rate is also very useful when we need to review tons of tips. Sometime I want to sort all the tips based on the quotient of rating, usally I can find some very useful but not popular tips by this way :)
   In fact, I think there are many other ways to make full use of vim tips, I think post tips about how to make full use of vim tips as a new vim tip will be interesting ;)
   I make this tarball to make my life easier and hope it will be helpful to you.

   In practice, I use the following script to grab all the scripts. It is not perfect but it works well. Feel free to modify it to make it more powerful and don't forget to tell about your progress :)

==================================>8=========================================

#! /usr/bin/env bash

w3m -dump http://vim.sourceforge.net/tips/tip.php?tip_id=$1 |cut -c 28- | sed -ne '1i\
======================================================================\

1,4d
/^\s*\[Add Note\]/Q
p'

===================================>8===========================================

   TODO:
        * add a colorscheme for tips with comments
  

 
install details
1. download the package
2. untar the package by command: tar -xjvf vimtips_with_comments.tar.bz2
3. open the vimtips_with_comments.txt by vim
That's all, enjoy!
 

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
vimtips_with_comments.tar.bz2 1.0 2006-07-28 6.0 Vincent Wang Initial upload
ip used for rating: 142.132.191.50

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