Fri, 28 Jan 2022 14:42:14 -0600
better hlsearch toggle
.vimrc | file | annotate | diff | comparison | revisions |
--- a/.vimrc +++ b/.vimrc @@ -65,7 +65,7 @@ let s:filename = expand('<sfile>') nnoremap <silent> <F2> :20Lexplore<CR> nnoremap <silent> <F3> n nnoremap <silent> <S-F3> N -noremap <silent> <F4> :set hls!<CR> +noremap <silent> <F4> :let v:hlsearch = !v:hlsearch<CR> nnoremap <silent> <F5> :UndotreeToggle<CR> nnoremap <silent> <F8> :TagbarToggle<CR>