Removed FocusGain/Loss from relative number in init.vim

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2021-04-19 19:40:54 +02:00
parent ea141108f7
commit 9f9d7aa651

View File

@ -2,8 +2,8 @@ set number relativenumber
augroup numbertoggle
autocmd!
autocmd BufEnter,FocusGained,InsertLeave * set relativenumber
autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber
autocmd BufEnter,InsertLeave * set relativenumber
autocmd BufLeave,InsertEnter * set norelativenumber
augroup END
" https://stackoverflow.com/a/1878983