From 33640ce1ccf2fe7436f7e0fc02b8e867fe518a84 Mon Sep 17 00:00:00 2001 From: masterzu Date: Tue, 8 Nov 2016 11:03:03 +0100 Subject: [PATCH] vim: add autocmd silent for caps-lock key remap --- .vimrc_vundle | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.vimrc_vundle b/.vimrc_vundle index c7ade11..79c9899 100755 --- a/.vimrc_vundle +++ b/.vimrc_vundle @@ -215,6 +215,17 @@ augroup END "" numbers-vim " nnoremap :NumbersToggle +" syntastic +set statusline+=%#warningmsg# +set statusline+=%{SyntasticStatuslineFlag()} +set statusline+=%* + +" let g:syntastic_always_populate_loc_list = 1 +" let g:syntastic_auto_loc_list = 1 +" let g:syntastic_check_on_open = 1 +" let g:syntastic_check_on_wq = 0 +let g:syntastic_auto_jump = 2 + """ keymaps " no arrows keys no more nmap @@ -230,7 +241,7 @@ imap imap jj imap kk " map caps-lock with Xvindow -au VimEnter * !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape' +au VimEnter * silent! !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape' " au VimLeave * !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Caps_Lock' " moves