I want to set vim with that. but I can't find the way.
Asked
Active
Viewed 132 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
2
Just use the following
:set nu
:set rnu
For more information use :help
:h number
:h relativenumber
sudo bangbang
- 23,736
- 11
- 71
- 75
-
1thanks.I find that.http://stackoverflow.com/questions/27151491/relative-number-in-vim – WalterWang May 27 '16 at 05:29