nvim: after/plugin: fugitve: Use gS mapping to stash file
While at it, use <Leader>G for :Git.
This commit is contained in:
parent
1fb713a8ba
commit
3942f04633
1 changed files with 2 additions and 1 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue