-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
Something like :panel_right_no_open for staging area -- :focus_staging_no_open ? #926
Comments
Filtering verbs by the kind of panel might find more use. Something like
? (edit: fixed the example) |
Oh, thanks! I'm looking at that filter description (docs say it should be If I assign that to the invocation |
That's the idea. |
With #934, if you define a |
I think there may have been a misreading of the behavior I'm after, especially as written in my last comment. I just tested with 1.43.0 and the $ mkdir rmtest
$ touch rmtest/do_{,not_}trash_{1,2,3}
$ br rmtest I then mark/select the three If I try But also, when I change focus to the staging panel and try the |
This is exact. I reopened. |
@AndydeCleyre Is #926 better ? I named it |
Thank you, yes when I explicitly build with the trash feature enabled that works! The only thing is that the hint text before I hit enter reflects the currently focused file, which is misleading, because the value of
After hitting enter, |
Maybe I'm thinking about this wrong, but basically, sometimes I add a bunch of files to the staging area, then want to
rm
them. But the way it works makes it easy to accidentallyrm
some selected file in the left pane, whereas I wantrm
to apply to the staging area if and when there is one.So I would want to define my own
rm
verb that does something like:focus_staging_no_open
(has no effect if there is no staging area, even if there is a right-hand pane), thenrm
.The text was updated successfully, but these errors were encountered: