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 augroup numbertoggle
autocmd! autocmd!
autocmd BufEnter,FocusGained,InsertLeave * set relativenumber autocmd BufEnter,InsertLeave * set relativenumber
autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber autocmd BufLeave,InsertEnter * set norelativenumber
augroup END augroup END
" https://stackoverflow.com/a/1878983 " https://stackoverflow.com/a/1878983