diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-02 11:17:12 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-02 11:17:12 +1200 |
commit | 3260ef7ee3cb8c107b810d4b7feb38ccc79bdfda (patch) | |
tree | 0f61b079d0069b37f7c27056187883bef4be9ebe | |
parent | Merge branch 'release/v1.15.0' into develop (diff) | |
download | dotfiles-3260ef7ee3cb8c107b810d4b7feb38ccc79bdfda.tar.gz dotfiles-3260ef7ee3cb8c107b810d4b7feb38ccc79bdfda.zip |
Correct <C-L> mapping
Exclude operator mode, and restore visual/select selection.
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -165,7 +165,8 @@ if has('windows') endif " Stack normal/visual/select Ctrl-L to clear search highlight -noremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L> +nnoremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L> +vnoremap <silent> <C-L> :<C-U>nohlsearch<CR>gv<C-L> " Stack insert Ctrl-C to undo the escaped insert operation " Default to not-quite-correct vim-tiny-compatible map if no plugin |