Removed FocusGain/Loss from relative number in init.vim
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
ea141108f7
commit
9f9d7aa651
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user