update moved vim-fugitive mappings to plugin section

This commit is contained in:
ManjaroOne666 2018-11-25 19:40:21 +00:00
parent 968b36b827
commit 586c9d83ab
1 changed files with 4 additions and 5 deletions

9
vimrc
View File

@ -486,11 +486,10 @@ let g:mta_filetypes = {
" #vim-fugitive{{{
" https://github.com/tpope/vim-fugitive/blob/master/README.markdown
Plug 'tpope/vim-fugitive'
command! GdiffInTab tabedit %|Gdiff
nnoremap <space>gs :Gstatus<CR>
nnoremap <space>gd :GdiffInTab<CR>
nnoremap <space>gc :Gcommit<CR>
nnoremap <space>gl :Glog<CR>
nnoremap <silent> <space>gs :Gstatus<CR>
nnoremap <silent> <space>gd :tabedit %<CR>:Gdiff<CR>
nnoremap <silent> <space>gc :Gcommit<CR>
nnoremap <silent> <space>gl :Glog<CR>
"}}}
" #vim-git{{{