[nvim] update the mappings for fugitive

This commit is contained in:
Dmytro Meleshko 2021-02-15 16:22:36 +02:00
parent faa946c7cc
commit a06b104376
1 changed files with 7 additions and 6 deletions

View File

@ -2,11 +2,12 @@
let g:gitgutter_map_keys = 0
nnoremap <leader>gg :G
nnoremap <leader>g :Git<space>
nnoremap <leader>gs :vertical Gstatus<CR>
nnoremap <leader>gd :Gdiff
nnoremap <leader>gb :Gblame<CR>
nnoremap <leader>gw :Gbrowse<CR>
nnoremap <leader>gs :vertical Git<CR>
nnoremap <leader>gd :Gdiffsplit
nnoremap <leader>gb :Git blame<CR>
nnoremap <leader>gw :GBrowse<CR>
nnoremap <leader>gW :.GBrowse<CR>
nnoremap <leader>gc :Gcommit %
nnoremap <leader>gl :Glog<CR>
nnoremap <leader>gp :Gpush
nnoremap <leader>gl :Gclog<CR>
nnoremap <leader>gp :Git push
" }}}