Mercurial > vim
diff runtime/optwin.vim @ 2178:c6f1aa1e9f32 vim73
Add 'relativenumber' patch from Markus Heidelberg.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 16 May 2010 15:46:46 +0200 |
parents | 5027d3220e2a |
children | e741fe7a0547 |
line wrap: on
line diff
--- 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)")