vim: disable remap <caps-lolck> at vim exit to avoid multi-vim conflits

This commit is contained in:
masterzu 2016-11-03 11:36:16 +01:00
parent 87c7087d1b
commit c77bd768f3
1 changed files with 1 additions and 1 deletions

View File

@ -237,6 +237,6 @@ imap jj <Esc>
imap kk <Esc>
" map caps-lock with Xvindow
au VimEnter * !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
au VimLeave * !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Caps_Lock'
" au VimLeave * !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Caps_Lock'