You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the problem you're trying to solve
Currently, when creating a longer keymap, e.g.
[[manager.prepend_keymap]]
on = [ "c", "d", "d", "m", "u" ]
run = 'cd ~/Downloads/Music'
yazi will execute the command as soon as it runs out of other candidates for a keymap match. So in this example, typing anywhere from 1 to 5 letters of "cddmu" would change the directory. Exactly how many will depend on other defined keymaps.
This is surely an intentional feature, but as someone who relies on muscle memory more than visual feedback, it's quite annoying. Sometimes a keymap will trigger before I've finished typing, and the last few inputs are messing up my workflow. Another unpleasant consequence of the current behavior is that a keymap can "change" merely by removing or adding other keymaps.
Would you be willing to contribute this feature?
Yes, I'll give it a shot
Describe the solution you'd like
I would like to see an option to turn this behavior off and always require the full-length input.
After some consideration, I've decided that yazi is not a project for me and moved back to using lf. I'm hugely impressed by what yazi can do, but I just prefer lf's configuration model, particularly the ability to embed small shell scripts and load dynamic configuration.
I still think this would be a nice feature for yazi to have for completeness, but I'm no longer interested in implementing it. Feel free to do whatever you want with it. Thanks!
I'll close this issue for now since it's no longer valuable to you, and I'm also not interested in/using it. If anyone needs it, feel free to raise a PR. Thanks!
yazi --debug
outputPlease describe the problem you're trying to solve
Currently, when creating a longer keymap, e.g.
yazi will execute the command as soon as it runs out of other candidates for a keymap match. So in this example, typing anywhere from 1 to 5 letters of "cddmu" would change the directory. Exactly how many will depend on other defined keymaps.
This is surely an intentional feature, but as someone who relies on muscle memory more than visual feedback, it's quite annoying. Sometimes a keymap will trigger before I've finished typing, and the last few inputs are messing up my workflow. Another unpleasant consequence of the current behavior is that a keymap can "change" merely by removing or adding other keymaps.
Would you be willing to contribute this feature?
Describe the solution you'd like
I would like to see an option to turn this behavior off and always require the full-length input.
Checklist
The text was updated successfully, but these errors were encountered: