dotfiles/nvim/lib/git.vim

12 lines
337 B
VimL

" mappings {{{
let g:gitgutter_map_keys = 0
nnoremap <leader>gg :G
nnoremap <leader>g :Git<space>
nnoremap <leader>gs :Gstatus<CR>
nnoremap <leader>gd :Gdiff
nnoremap <leader>gb :Gblame<CR>
nnoremap <leader>gw :Gbrowse<CR>
nnoremap <leader>gc :Gcommit %
nnoremap <leader>gl :Glog<CR>
nnoremap <leader>gp :Gpush
" }}}