From f90db554024680d7ce9574115e96eb877b3812fa Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 16 Aug 2020 17:19:19 +0200 Subject: [PATCH] vim: Add shortcut to hide search results --- home/.config/nvim/init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index e4ee417..9091b05 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -10,6 +10,9 @@ set undoreload=16384 " Search set ignorecase +" Hide search when enter is pressed +nnoremap :nohlsearch + " Autoload settings from file set modeline