Removed relativenumbering auto toggle from nvim

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2021-11-10 11:23:17 +01:00
parent e1ede4f11e
commit fad1bb5f4d
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283

View File

@ -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