nvim: after/plugin: fugitve: Use gS mapping to stash file

While at it, use <Leader>G for :Git.
This commit is contained in:
Sanchayan Maity 2021-06-07 13:48:29 +05:30
parent 1fb713a8ba
commit 3942f04633
1 changed files with 2 additions and 1 deletions

View File

@ -24,8 +24,9 @@ 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>gS :Git stash -- %<CR>
nnoremap <Leader>gw :Gwrite<CR>
nnoremap <Leader>G :Git<SPACE>
augroup custom_fugitive
autocmd!