nvim: after/plugin/fugitive: Improve git stash command mapping

This commit is contained in:
Sanchayan Maity 2022-02-13 12:28:24 +05:30
parent 6dd369b137
commit ac3039d64b

View file

@ -25,7 +25,7 @@ nnoremap <Leader>go :call git#git_log_compare()<CR>
nnoremap <Leader>gr :call git#git_rebase_origin()<CR> nnoremap <Leader>gr :call git#git_rebase_origin()<CR>
nnoremap <Leader>gR :call git#git_review()<CR> nnoremap <Leader>gR :call git#git_review()<CR>
nnoremap <Leader>g- :call git#git_stash()<CR>:e<CR> nnoremap <Leader>g- :call git#git_stash()<CR>:e<CR>
nnoremap <Leader>g+ :Git stash pop<SPACE> nnoremap <Leader>g+ :Git stash pop stash@
nnoremap <Leader>gs :Git stash list<CR> nnoremap <Leader>gs :Git stash list<CR>
nnoremap <Leader>gS :Git stash -- %<CR> nnoremap <Leader>gS :Git stash -- %<CR>
nnoremap <Leader>gt :Git reflog<CR> nnoremap <Leader>gt :Git reflog<CR>