X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/614b66e8cb6511504243046ba1ecdce7ea5db487..2c3ee9c15838126db44e3ad937c4caa8ffa8bbd8:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 8fedddc..211a64b 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -7,6 +7,9 @@ set runtimepath ^=$XDG_CONFIG_HOME/vim set runtimepath +=$XDG_CONFIG_HOME/vim/after +" force python3 +if has('python3') | endif + " plugins {{{1 " remove all autocommands autocmd! @@ -554,11 +557,11 @@ nmap dd :tab split \| Gdiff \| wincmd h " delete fugitive buffers when closed autocmd BufReadPost fugitive://* set bufhidden=delete -nnoremap gs :Gstatus -nnoremap gd :Gdiff -nnoremap gc :Gcommit -v +nnoremap gs :Git +nnoremap gd :Gdiffsplit +nnoremap gc :G commit -v nnoremap ga :Gwrite -nnoremap gb :Gblame +nnoremap gb :G blame augroup fugitive_gstatus au!