NeogitOrg / neogit

An interactive and powerful Git interface for Neovim, inspired by Magit
MIT License
3.83k stars 228 forks source link

Status Buffer: Actions that require a hunk/file do not work. #1242

Open CKolkey opened 5 months ago

CKolkey commented 5 months ago

<C-S>, S, s, u, U, x and <CR> don't work when used from the help popup, e.g. pressing ? and then s to stage the selected file doesn't work. In contrast, e.g. moving the cursor to a previous commit, then pressing ?, r and i will rebase interactively onto the selected commit without opening the "Select a commit ..." window.

The issue blocking this is that all the status buffer actions are anonymous functions defined inline, so there's not a clear way to invoke them again.