aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2017-07-18 11:20:54 -0600
committerAdam Hovorka <[email protected]>2017-07-18 11:20:54 -0600
commitbe97ddcef019decacfddcbae43c539e9e28eba46 (patch)
tree070d670774c8e24a8216be8746e1fda6c5db3410
parentafca4b1906d99f9bd3949c9509c3ec06c09abbda (diff)
Fix annoying highlight on new block comment commands
-rw-r--r--base/.vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/.vimrc b/base/.vimrc
index 9c83387..9265ad0 100644
--- a/base/.vimrc
+++ b/base/.vimrc
@@ -138,8 +138,8 @@ nnoremap <leader>q gqip
nnoremap <leader>vp V`]
nnoremap <leader>h :syntax sync fromstart<CR>
-noremap + :s/^/\/\//<CR>
-noremap - :s/^\/\///<CR>
+noremap <silent> + :s/^/\/\//<CR>:noh<CR>
+noremap <silent> - :s/^\/\///<CR>:noh<CR>
vnoremap Q gq
nnoremap Q gqap