-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
22 lines (15 loc) · 830 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2351
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.
:RltvNmbr
This command turns relative line numbering on.
:RltvNmbr!
This command turns relative line numbering off.
CAVEAT:
Your vim must have the signs feature compiled in! This typically means that your vim has been configured and compiled to be "huge":
configure --with-features=huge
compile
install
To check this:
:echo has("signs")
should show a "1". Alternatively, look at the output of :version and see if you have +signs listed.
(alpha/beta version available at http://mysite.verizon.net/astronaut/vim/index.html#RLTVNMBR)