aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/git.vim
blob: 37c5d9fba1f0154c2e8ccea13ffdeba6f769947d (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>gp :Git push<CR>
nnoremap <leader>gpo :Git push -u origin HEAD<CR>