sbutils : Some utilities I find useful
| script karma |
Rating 11/5,
Downloaded by 1469 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| sapan bhatia |
| |
| script type |
| utility |
| |
| description |
This is a collection of utilities that i will be updating regularly. I'm putting it online just in case somebody wants exactly what's there, if you're just browsing, you should probably skip this version.
Starting with 2 utils:
1. Count the no. of occurences of a -PERL- regex in a range ( :<range>Count <regex>)
2. Insert a timestamp, formatted according to a time-format string at the current cursor position in the command mode ( <Leader>t) where <Leader> is usually ''
3. Comment a block of C-code by selecting a range and hitting <Leader>C - it replaces /* and */ inside with {{{ and }}} to cope with nested comments.
|
| |
| install details |
| Source from ~/.vimrc (:source sb.vim) |
| |
script versions (upload new version)
Click on the package to download.
| sb.vim |
0.11 |
2003-08-24 |
6.0 |
sapan bhatia |
New util:
To select a range and put it within C comments, replacing internal /* and */ with {{{ and }}} to cope with nesting (well, i find it useful:) |
| sb.vim |
0.1 |
2003-08-22 |
6.0 |
sapan bhatia |
Initial upload |
ip used for rating: 216.73.216.32
|