Closed hongyuanjia closed 2 weeks ago
Sorry, this is one of the features I don't want to add because it goes against Yazi's design philosophy. Yazi is meant to have consistent behavior across all platforms, so assigning different functions to the same key on different platforms would clearly violate that.
The reason we introduced for
for [opener]
was to hide these differences - even if the opener
defines different programs, you can still use them consistently within [open]
. The same goes for keybindings: if you really want to have platform-specific differences, please hide them in a plugin, here is an example https://github.com/sxyazi/yazi/issues/51#issuecomment-2256273945
No worry, it totally makes sense. Thanks for the hint.
yazi --debug
outputPlease describe the problem you're trying to solve
In
yazi.toml
we can have afor
field to specify the settings for specific platforms, e.g.:I wonder if it is possible to do the same in
keymap.toml
? E.g.:Would you be willing to contribute this feature?
Describe the solution you'd like
Additional context
No response
Validations