diff --git a/.vim/vimrc b/.vim/vimrc index a8bffd1..acb84ca 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -542,5 +542,16 @@ highlight ColorColumn ctermbg=0 set cursorlineopt=number syntax sync minlines=256 + +" fix meta-keys which generate a .. z +let c='a' +while c <= 'z' + exec "set =\e".c + exec "imap \e".c." " + let c = nr2char(1+char2nr(c)) +endw +set =a +imap a + nnoremap ve :e $MYVIMRC nnoremap vr :source $MYVIMRC