diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-16 15:46:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-16 15:46:46 +0200 |
commit | 64486671c3fcc75698c57732c50865ad0573b3fe (patch) | |
tree | 2e638c57e838549b6c314984b2405c25b2e4c175 /runtime/optwin.vim | |
parent | 13c4c5da673c488d2d340c72f401f0631b9f669d (diff) | |
download | vim-git-64486671c3fcc75698c57732c50865ad0573b3fe.tar.gz |
Add 'relativenumber' patch from Markus Heidelberg.
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r-- | runtime/optwin.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 7392b53bd..056d24c3a 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -365,6 +365,9 @@ call <SID>OptionG("lcs", &lcs) call append("$", "number\tshow the line number for each line") call append("$", "\t(local to window)") call <SID>BinOptionL("nu") +call append("$", "relativenumber\tshow the relative line number for each line") +call append("$", "\t(local to window)") +call <SID>BinOptionL("rnu") if has("linebreak") call append("$", "numberwidth\tnumber of columns to use for the line number") call append("$", "\t(local to window)") |