From fa1d4944084bccc076a228ce3bb137157bd3f5cc Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Fri, 20 Jul 2018 21:58:32 +0200 Subject: [PATCH] Add make mappings --- .ssh/config | 10 ++++++++-- .vim/gvimrc | 2 ++ .vim/vimrc | 6 ++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.ssh/config b/.ssh/config index a31e55e..d8fd508 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,11 +1,17 @@ +# default for all +IdentityFile ~/.ssh/id_rsa + # override as per host +Host jaza + HostName 192.168.1.100 + User jaz + IdentityFile ~/.ssh/jaza.key + Host jaza.me IdentityFile ~/.ssh/jaza.key Host bitbucket.grundfos.com IdentityFile ~/.ssh/gf_rsa -# default for all -IdentityFile ~/.ssh/id_rsa diff --git a/.vim/gvimrc b/.vim/gvimrc index efb1338..1365d09 100644 --- a/.vim/gvimrc +++ b/.vim/gvimrc @@ -21,6 +21,8 @@ map! " colors highlight normal guibg=black guifg=white highlight linenr guifg=grey +highlight BadWhitespace guifg=red + set gcr=a:blinkon0 " fonts diff --git a/.vim/vimrc b/.vim/vimrc index 2dd122d..43e7ca2 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -109,6 +109,8 @@ set fileignorecase set t_Co=256 set background=dark highlight linenr ctermfg=grey +highlight BadWhitespace ctermfg=red +match BadWhitespace /\s\+$/ " fonts and chars set list @@ -157,8 +159,7 @@ nnoremap + :exe "resize " . (winheight(0) * 3/2) nnoremap - :exe "resize " . (winheight(0) * 2/3) nnoremap :noh nnoremap ev :edit $MYVIMRC -"nnoremap sv :source $MYVIMRC -nnoremap sh :terminal +nnoremap m :wa:Make "nnoremap html :-1read ~/.vim/template/html3jwf>a "nnoremap php :-1read ~/.vim/template/php2ja @@ -167,6 +168,7 @@ vmap < >gv " Insert Mode Mappings +inoremap m :wa:Makei inoremap u " Command Mode Mappings -- 2.43.0