dotfiles/nvim/plugin/git.vim
2021-03-17 19:56:07 +02:00

14 lines
436 B
VimL

" mappings {{{
let g:gitgutter_map_keys = 0
nnoremap <leader>gg :G
nnoremap <leader>g :Git<space>
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 :Git commit %
nnoremap <leader>gC :Git commit --amend
nnoremap <leader>gl :Gclog<CR>
nnoremap <leader>gp :Git push
" }}}