From f994d8bf690199761695ded710575ce0a13c01e7 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Wed, 16 Feb 2022 00:55:03 +0100 Subject: [PATCH] vim:keys: Use to set `nohlsearch` Use to set `nohlsearch` instead of . has no purpose in normal mode and has the benefit, that the cursor is not moved. --- .config/vim/vimrc.d/40-keys.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/vim/vimrc.d/40-keys.vim b/.config/vim/vimrc.d/40-keys.vim index c113f2d..6f46915 100644 --- a/.config/vim/vimrc.d/40-keys.vim +++ b/.config/vim/vimrc.d/40-keys.vim @@ -1,6 +1,6 @@ " Keybindings """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Stop highlighting search result when pressing Return -nnoremap :nohlsearch +nnoremap :nohlsearch " Indentation jump " https://vim.fandom.com/wiki/Move_to_next/previous_line_with_same_indentation