aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/git.vim
blob: 3000140634b7ade0e5b35fffcee3857ac225ca23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
nmap ]h <Plug>(GitGutterNextHunk)
nmap [h <Plug>(GitGutterPrevHunk)

nmap ghs <Plug>(GitGutterStageHunk)
nmap ghu <Plug>(GitGutterUndoHunk)

" nmap <Leader>gs :G<CR>
nmap <Leader>gdh :diffget //2<CR>
nmap <Leader>gdl :diffget //3<CR>

nnoremap <leader>ga :Git fetch --all -p<CR>
nnoremap <leader>gl :Git pull<CR>
nnoremap <leader>gpp :Git push<CR>
nnoremap <leader>gpo :Git push -u origin HEAD<CR>