issues
search
tpope
/
vim-fugitive
fugitive.vim: A Git wrapper so awesome, it should be illegal
https://www.vim.org/scripts/script.php?script_id=2975
20.01k
stars
1.01k
forks
source link
Partial hunk staging doesn't work with nvim as EDITOR environment variable
#2302
Open
nikita-talalai
opened
5 months ago
nikita-talalai
commented
5 months ago
Step to reproduce:
Set EDITOR=nvim
In nvim run :G to open git status
Press "P" mapping on unstaged file
Choose to edit hunk
Make changes and save It doesn't return to previous buffer after saving and quitting (to continue processing other hunks). It returns to git status split with unapplied changes. However, editing hunk with, for example, nano, is working as expected.
Step to reproduce: