diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-04 01:45:59 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-04 01:45:59 +1200 |
commit | 60266721b09cc115cdb273bd52944d724cddcefe (patch) | |
tree | 419eda3c0b2cf91c0b915d156f2cc92c321ae0d9 | |
parent | Remove recursion from mappings that don't need it (diff) | |
download | dotfiles-60266721b09cc115cdb273bd52944d724cddcefe.tar.gz dotfiles-60266721b09cc115cdb273bd52944d724cddcefe.zip |
Remove <silent> from some mappings
-rw-r--r-- | vim/vimrc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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) |