Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial hunk staging doesn't work with nvim as EDITOR environment variable #2302

Open
nikita-talalai opened this issue May 11, 2024 · 0 comments

Comments

@nikita-talalai
Copy link

Step to reproduce:

  1. Set EDITOR=nvim
  2. In nvim run :G to open git status
  3. Press "P" mapping on unstaged file
  4. Choose to edit hunk
  5. 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant