diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-17 23:11:17 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-17 23:11:17 +1200 |
commit | 4cc82bd8878815145c2c0425527dc8c523d73672 (patch) | |
tree | 73855e283edd95e36e457526fcb989f36e36c038 | |
parent | Rebuild dotfiles(7df) manual from README.md (diff) | |
download | dotfiles-4cc82bd8878815145c2c0425527dc8c523d73672.tar.gz dotfiles-4cc82bd8878815145c2c0425527dc8c523d73672.zip |
Make CTRL-L redraw the screen from insert mode
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -236,6 +236,9 @@ imap <C-K><C-K> <Plug>(DigraphSearch) nnoremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L> vnoremap <silent> <C-L> :<C-U>nohlsearch<CR>gv<C-L> +" Make Ctrl-L work in insert mode too; good for choppy terminals +inoremap <silent> <C-L> <C-O>:redraw<CR> + " Remap normal/visual & and g& to preserve substitution flags nnoremap <silent> & :&&<CR> xnoremap <silent> & :&&<CR> |