vim line numbers
This commit is contained in:
parent
efe1ca47ae
commit
1af70b8f1c
1 changed files with 8 additions and 0 deletions
8
.vimrc
8
.vimrc
|
@ -58,3 +58,11 @@ let &t_ut=''
|
|||
let g:licenses_copyright_holders_name = $USER_NICKNAME
|
||||
let g:licenses_authors_name = $USER_NICKNAME
|
||||
let g:licenses_default_commands = ['affero', 'apache', 'bsd3', 'cecill', 'gfdl', 'gpl', 'gplv2', 'isc', 'lgpl', 'mit', 'mpl', 'verbatim']
|
||||
|
||||
" Line number modes
|
||||
:set number relativenumber
|
||||
:augroup numbertoggle
|
||||
: autocmd!
|
||||
: autocmd BufEnter,FocusGained,InsertLeave * set relativenumber
|
||||
: autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber
|
||||
:augroup END
|
||||
|
|
Loading…
Reference in a new issue