dotfiles/nvim/plugin/git.vim
2021-02-15 16:22:36 +02:00

13 lines
391 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 :Gcommit %
nnoremap <leader>gl :Gclog<CR>
nnoremap <leader>gp :Git push
" }}}