diff --git a/vimrc b/vimrc index 5666f09322012b2c52213d4c163955fbcc5305e7..93bef66fe9cdb311697d30a830e1191dd86cc80d 100644 --- a/vimrc +++ b/vimrc @@ -56,6 +56,10 @@ colorscheme solarized cmap w!! w !sudo tee > /dev/null % +" Clear the search highlighting. Call with `<leader>/` +nnoremap <silent> <leader>/ :set nohlsearch<CR> + + " Show invisible characters. Toggle with <F10> set nolist set listchars=tab:\|·,trail:·,nbsp:¤,extends:>,precedes:<,eol:¬