diff --git a/.config/vim/vimrc.d/80-autocommands.vim b/.config/vim/vimrc.d/80-autocommands.vim index 63852ee..ab7310f 100644 --- a/.config/vim/vimrc.d/80-autocommands.vim +++ b/.config/vim/vimrc.d/80-autocommands.vim @@ -163,6 +163,8 @@ endfunction augroup highlight_current au! + " TODO: `viw` when on the last character of the word does not trigger + " CursorMoved, but the selection changes au CursorMoved * if mode() == 'n' | \ call HighlightCurrentWord() | \ else |