diff --git a/vim/vimrc b/vim/vimrc index 0b64f35..405f7bc 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -19,6 +19,13 @@ nnoremap :make! nnoremap :let _s=@/ :%s/\s\+$//e :let @/=_s :nohl :unlet _s set makeprg=gmake +let mapleader = ',' +nmap gs :Gstatus +nmap gd :Gvdiff +nmap ge :Gedit +nmap gr :Gread +nmap gb :Gblame + map :call functions#WinMove('h') map :call functions#WinMove('j') map :call functions#WinMove('k')