Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
2176:dd87ce87e0cc | 2178:c6f1aa1e9f32 |
---|---|
363 call append("$", "listchars\tlist of strings used for list mode") | 363 call append("$", "listchars\tlist of strings used for list mode") |
364 call <SID>OptionG("lcs", &lcs) | 364 call <SID>OptionG("lcs", &lcs) |
365 call append("$", "number\tshow the line number for each line") | 365 call append("$", "number\tshow the line number for each line") |
366 call append("$", "\t(local to window)") | 366 call append("$", "\t(local to window)") |
367 call <SID>BinOptionL("nu") | 367 call <SID>BinOptionL("nu") |
368 call append("$", "relativenumber\tshow the relative line number for each line") | |
369 call append("$", "\t(local to window)") | |
370 call <SID>BinOptionL("rnu") | |
368 if has("linebreak") | 371 if has("linebreak") |
369 call append("$", "numberwidth\tnumber of columns to use for the line number") | 372 call append("$", "numberwidth\tnumber of columns to use for the line number") |
370 call append("$", "\t(local to window)") | 373 call append("$", "\t(local to window)") |
371 call <SID>OptionL("nuw") | 374 call <SID>OptionL("nuw") |
372 endif | 375 endif |