diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index dd8e976..8e8a668 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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