From: Jannik ZANDER Date: Mon, 9 Jul 2018 11:04:56 +0000 (+0200) Subject: Add hlsearch X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=a6f6c00d362cdb3e607fb98ea87774edb2ad2fba;p=dotfiles.git Add hlsearch --- diff --git a/.vim/vimrc b/.vim/vimrc index fd53c0d..7210aba 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -46,6 +46,7 @@ set linebreak " search set incsearch +set hlsearch set ignorecase set smartcase set showmatch @@ -132,6 +133,8 @@ nnoremap nnoremap nnoremap :bnext nnoremap :bNext +" Press to turn off highlighting and clear any message already displayed. +nnoremap :nohlsearch:echo " Insert mode Mappings inoremap u