I want to set vim with that. but I can't find the way.
Asked
Active
Viewed 188 times
-3
-
Possible duplicate of [vim line numbers - how to have them on by default?](http://stackoverflow.com/questions/10274146/vim-line-numbers-how-to-have-them-on-by-default) – SibiCoder May 27 '16 at 16:54
1 Answers
1
Just use the following
:set nu
:set rnu
For more information use :help
:h number
:h relativenumber

sudo bangbang
- 27,127
- 11
- 75
- 77
-
1thanks.I find that.http://stackoverflow.com/questions/27151491/relative-number-in-vim – WalterWang May 27 '16 at 05:29