Skip to content
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

Toml Keybinds for Plugin Actions #8

Open
Talia-12 opened this issue Oct 9, 2024 · 2 comments
Open

Toml Keybinds for Plugin Actions #8

Talia-12 opened this issue Oct 9, 2024 · 2 comments

Comments

@Talia-12
Copy link

Talia-12 commented Oct 9, 2024

It's possible that there's a way to do this already that I can't figure out, but currently if I provide e.g. recentf-open-files in helix.scm this shows up as :recentf-open-files when I press : in Helix, but if I try and bind a keybind to call ":recentf-open-files" the way I would for a standard helix action it doesn't work. I'm aware that there's a way in the helix.scm that I'll set up for now, but it would be better to be able to put all the keybind stuff in one place.

@mattwparas
Copy link
Owner

So you're making a binding to the function via a toml keybinding? I didn't attempt to integrate with the toml key binding in favor of the key binding setup within steel, so I don't know what the behavior would be when trying to bind to a steel function within the toml setup

@Talia-12
Copy link
Author

the current behaviour is that the binding to the steel function from the toml setup just doesn't do anything; I am also using the steel key binding setup for now, for the bindings that need it, but I think this is probably something that should be changed before this merges into upstream? it is not super intuitive as a user that the standard way of configuring keybinds won't work, having to mix and match between the two is unergonomic, and I expect upstream's maintainers won't be in favour of the steel keybinds adding being the new default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants