aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-04 01:45:59 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-04 01:45:59 +1200
commit60266721b09cc115cdb273bd52944d724cddcefe (patch)
tree419eda3c0b2cf91c0b915d156f2cc92c321ae0d9
parentRemove recursion from mappings that don't need it (diff)
downloaddotfiles-60266721b09cc115cdb273bd52944d724cddcefe.tar.gz
dotfiles-60266721b09cc115cdb273bd52944d724cddcefe.zip
Remove <silent> from some mappings
-rw-r--r--vim/vimrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 5d989d96..05b3c7e5 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -248,14 +248,14 @@ endif
imap <C-K><C-K> <Plug>(DigraphSearch)
" Stack Ctrl-L to clear search highlight, make it work in insert mode too
-nnoremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L>
-vnoremap <silent> <C-L> :<C-U>nohlsearch<CR>gv<C-L>
-inoremap <silent> <C-L> <C-O>:<C-U>nohlsearch<CR><C-O><C-L>
+nnoremap <C-L> :<C-U>nohlsearch<CR><C-L>
+vnoremap <C-L> :<C-U>nohlsearch<CR>gv<C-L>
+inoremap <C-L> <C-O>:<C-U>nohlsearch<CR><C-O><C-L>
" Remap normal/visual & and g& to preserve substitution flags
-nnoremap <silent> & :&&<CR>
-xnoremap <silent> & :&&<CR>
-nnoremap <silent> g& :<C-U>%&&<CR>
+nnoremap & :&&<CR>
+xnoremap & :&&<CR>
+nnoremap g& :<C-U>%&&<CR>
" Map g: as a 'colon operator'
nmap g: <Plug>(ColonOperator)