diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 8bad5bb..93510f7 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -829,10 +829,9 @@ set expandtab set colorcolumn=80,120 -set nostartofline " Don’t reset cursor to start of line when moving around. -set noeol " Don’t add empty newlines at the end of files -autocmd InsertEnter * set cursorline " Show cursor line in insert mode -autocmd InsertLeave * set nocursorline " Hide cursor line in insert mode +set nostartofline " Don’t reset cursor to start of line when moving around. +set noeol " Don’t add empty newlines at the end of files +set cursorline " Show cursor line in insert mode " Set updatetime for CursorHold " 300ms of no cursor movement to trigger CursorHold