dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone git://edryd.org/dotfiles
Log | Files | Refs

commit 1942dd16eeeb812eed33e23110d3e1581e849251
parent 3642146c79a78ae07c992729b98aaae6bb9ab56f
Author: Ed van Bruggen <edvb54@gmail.com>
Date:   Mon, 25 Jul 2016 21:57:00 -0700

Vim: Fix ESC to :noh mapping

Diffstat:
vimrc | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vimrc b/vimrc @@ -276,7 +276,8 @@ inoremap jj <Esc> inoremap <C-c> <Esc><Esc> " extend ESC to also clear search highlight -nnoremap <ESC> :noh<CR><ESC> +nnoremap <silent> <ESC> :noh<CR> +nnoremap <ESC>[ <ESC>[ " ZZ is save and quit and ZQ is just quit, so... " make ZS to save without closing