-
Notifications
You must be signed in to change notification settings - Fork 2
Display relative line numbers
vim-scripts/RltvNmbr.vim
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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)
About
Display relative line numbers