diff --git a/.config/vim/vimrc.d/40-keys.vim b/.config/vim/vimrc.d/40-keys.vim index a979d4f..f6d7d87 100644 --- a/.config/vim/vimrc.d/40-keys.vim +++ b/.config/vim/vimrc.d/40-keys.vim @@ -1,7 +1,7 @@ " vim: set foldmethod=marker: " Keybindings """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Stop highlighting search result when pressing Return -nnoremap :nohlsearch +" Clear all kinds of highlights when pressing Escape in normal mode +nnoremap :nohlsearch call ClearHighlights() " Indentation jump " https://vim.fandom.com/wiki/Move_to_next/previous_line_with_same_indentation