nvim: after: fugitive: Update key mappings
This commit is contained in:
parent
66213e0d06
commit
765eec81b6
1 changed files with 14 additions and 14 deletions
|
@ -1,25 +1,25 @@
|
||||||
nnoremap <Leader>ga :Git fetch --all<CR>
|
nnoremap <Leader>ga :Git fetch --all<CR>
|
||||||
xnoremap <Leader>gb :Git blame<CR>
|
xnoremap <Leader>gb :Git blame<CR>
|
||||||
nnoremap <Leader>gb :Git branch<SPACE>
|
nnoremap <Leader>gb :Git branch -a<CR>
|
||||||
nnoremap <Leader>gB :Git checkout -b<SPACE>
|
nnoremap <Leader>gB :Git branch<SPACE>
|
||||||
|
nnoremap <Leader>gc :Git checkout -b<SPACE>
|
||||||
|
nnoremap <Leader>gC :Git checkout<SPACE>
|
||||||
nnoremap <Leader>gd :Ghdiffsplit!<CR>
|
nnoremap <Leader>gd :Ghdiffsplit!<CR>
|
||||||
nnoremap <Leader>gD :Gvdiffsplit!<CR>
|
nnoremap <Leader>gD :Gvdiffsplit!<CR>
|
||||||
nnoremap <Leader>gs :Git<CR>
|
|
||||||
nnoremap <Leader>gS :Git<SPACE>
|
|
||||||
nnoremap <Leader>gc :Git commit -v -q<CR>
|
|
||||||
nnoremap <Leader>gC :Git commit -v -q %:p<CR>
|
|
||||||
nnoremap <Leader>gp :Git push<CR>
|
|
||||||
nnoremap <Leader>gP :Git push -u<SPACE>
|
|
||||||
nnoremap <Leader>g- :Git stash<CR>:e<CR>
|
|
||||||
nnoremap <Leader>g+ :Git stash pop<CR>:e<CR>
|
|
||||||
nnoremap <Leader>gw :Gwrite<CR>
|
|
||||||
nnoremap <Leader>gM :0,3Git blame<CR>
|
|
||||||
nnoremap <Leader>gr :Git rebase origin/master<CR>
|
|
||||||
nnoremap <Leader>gR :Git rebase upstream/master<CR>
|
|
||||||
nnoremap <Leader>gl :Git log %<CR>
|
nnoremap <Leader>gl :Git log %<CR>
|
||||||
nnoremap <Leader>gL :Git log -n 100<CR>
|
nnoremap <Leader>gL :Git log -n 100<CR>
|
||||||
xnoremap <Leader>gl :<C-U>call <SID>git_log_range()<CR>
|
xnoremap <Leader>gl :<C-U>call <SID>git_log_range()<CR>
|
||||||
xnoremap <Leader>gL :<C-U>call <SID>git_log_named_block()<CR>
|
xnoremap <Leader>gL :<C-U>call <SID>git_log_named_block()<CR>
|
||||||
|
nnoremap <Leader>gM :Git merge origin/
|
||||||
|
nnoremap <Leader>gp :Git push<CR>
|
||||||
|
nnoremap <Leader>gP :Git push -u<SPACE>
|
||||||
|
nnoremap <Leader>gr :Git rebase origin/master<CR>
|
||||||
|
nnoremap <Leader>gR :Git rebase origin/main<CR>
|
||||||
|
nnoremap <Leader>g- :Git stash<CR>:e<CR>
|
||||||
|
nnoremap <Leader>g+ :Git stash pop<CR>:e<CR>
|
||||||
|
nnoremap <Leader>gs :Git<CR>
|
||||||
|
nnoremap <Leader>gS :Git<SPACE>
|
||||||
|
nnoremap <Leader>gw :Gwrite<CR>
|
||||||
|
|
||||||
" For 3 way merge
|
" For 3 way merge
|
||||||
nnoremap <Leader>dl :diffget //2<CR>
|
nnoremap <Leader>dl :diffget //2<CR>
|
||||||
|
|
Loading…
Reference in a new issue