mattwparas / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
33 stars 0 forks source link

Toml Keybinds for Plugin Actions #8

Open Talia-12 opened 6 days ago

Talia-12 commented 6 days ago

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 commented 18 hours ago

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