diff --git a/.config/vim/vimrc.d/80-autocommands.vim b/.config/vim/vimrc.d/80-autocommands.vim index 06b3391..97ecc39 100644 --- a/.config/vim/vimrc.d/80-autocommands.vim +++ b/.config/vim/vimrc.d/80-autocommands.vim @@ -104,10 +104,10 @@ augroup highlight_current_word au CursorMovedI * call HighlightCurrentWord() augroup END -" When switching focus to another window, keep the cursor location highlighted. +" When switching focus to another window, keep the cursor location underlined. function! HighlightOldCursorPos() let w:cursor_pos_match_id = matchaddpos( - \ 'TermCursor', + \ 'Underlined', \ [getcurpos()[1:2]]) endfunction function! ClearOldCursorPos()