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
I have a relevant PR in the home-manager upstream since this check isn't specific to plugins and we don't currently maintain our own options for setting keymaps etc. nix-community/home-manager#6343
Note
This relies on #9 being merged!
Problem
If two plugins bind an action to the same key, a random one takes precedence. (This can be solved by setting the respective key option)
Example:
https://github.com/haennes/nix-yazi-plugins/blob/fg/plugins/fg/hm-module.nix
https://github.com/haennes/nix-yazi-plugins/blob/wip/plugins/jump-to-char/hm-module.nix
Proposed Solutions
Warnings
iterate over all set keys, and throw a warning if we detect such a collision
Pros
Cons
Implementing our own options for yazi using attrsets
make
programs.yazi.yaziPlugins.{keys, previewers, ...}
options that are of typeattrsOf submodule
names of these attrs being:
Pros
Cons
Leave as is and mention it in the README
This is also a valid solution
The text was updated successfully, but these errors were encountered: