-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Some minor mode commands are absent from the Command Palette (and cannot be rebound). #9814
Comments
This is covered by #1383 and it looks like the related PR is marked for one of the next releases |
What you are talking about here isn't a minor mode but remapping hardcoded pending keys. These should just be seperate commands. The blocker to that is currently that there is no way to have a falltrough mapping (so Minor mode would be |
Sorry. What I meant by "minor mode commands" was simply the commands are only accessible via minor modes. I see now that the term is a little misleading. Concretely, this is what I'm trying to do here... I have a simplified Match Menu that retains the following commands:
I have removed
And these are for selecting the entire item:
The following bindings select the next or previous item, treating the Edit History and Jumplist as a stack (with the newest stuff on top):
The Match Menu works fine, and I've created the last block of bindings (using the ControlOption chord) already, but I cannot create the two blocks before that (using the Control xor Option chord). The commands exist, but they have no name to bind to. |
While the Command Palette includes stuff like
select_textobject_around
andselect_textobject_inner
, there doesn't seem to be any way to rebind the corresponding subcommands.For example, you can rebind the
ma
part ofmaf
(match around function) to a use a different prefix, but thef
part cannot be rebound. There's nothing likeselect_textobject_around_function
to bind to.I care because I renamed the Tree-sitter types, so they all have unique initials, and have various bindings based around these initials, so it's confusing to have a minor-mode that uses conflicting mnemonics. This is what I want to use:
b
: block/paragraphc
: commentd
: diagnostice
: edit/changef
: functionp
: parameter/argumentt
: type-definitionu
: unit testw
: wordThe text was updated successfully, but these errors were encountered: