Removed relativenumbering auto toggle from nvim
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
e1ede4f11e
commit
fad1bb5f4d
@ -1,12 +1,6 @@
|
||||
set number relativenumber
|
||||
set number norelativenumber
|
||||
set mouse+=a
|
||||
|
||||
augroup numbertoggle
|
||||
autocmd!
|
||||
autocmd BufEnter,InsertLeave * set relativenumber
|
||||
autocmd BufLeave,InsertEnter * set norelativenumber
|
||||
augroup END
|
||||
|
||||
" https://stackoverflow.com/a/1878983
|
||||
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user