RltvNmbr.vim : Display relative line numbers
| script karma
Downloaded by 1723
Comments, bugs, improvements
script versions (upload new version)
|The RltvNmbr plugin uses the signs feature to display the line numbering relative to the current line. A number of commands take [count] arguments for which this is helpful.
This command turns relative line numbering on.
This command turns relative line numbering off.
Your vim must have the signs feature compiled in! This typically means that your vim has been configured and compiled to be "huge":
To check this:
should show a "1". Alternatively, look at the output of :version and see if you have +signs listed.
(alpha/beta version available at http://www.drchip.org/astronaut/vim/index.html#RLTVNMBR)
(assuming you have vim 7.1 or later; with vim 7.0, you'll need to upgrade your vimball plugin)
Click on the package to download.
ip used for rating: 184.108.40.206
||* Speeded up sign unplacing
* Included g:rltvnmbrmode to report en/dis-ablement of relative numbering
* Includes some more autocmds for relative number updating
||Been a number of requests to provide a toggling command, and so: :RN will toggle RltvNmbr'ing. Plus a few more events will redraw the relative numbering signs.
||Displays line numbers relative to the current line -- helpful with commands that use [count]s.