helix
helix copied to clipboard
Add ability to bind `BrowserBack` and `BrowserForward` keys to actions
It seems that these keys are not supported as they are not listed as special keys in the documentation. They can however be helpful as alternatives for Ctrl+O and Ctrl+I (jumping backward and forward). These keys are not commonly found on physical keyboards, but with software like QMK or Kanata can be easily used on custom keyboards/keyboard layouts.
I have personally mapped them for easy access and use them pretty much anywhere where there is some sort of movement (browsers, text editors, PDF viewers) and it would be nice if they worked in Helix as well.
I have not found many references to them online, but here’s where they are defined in QMK (link) and in Kanata (link) if this can be of help.
Helix uses the kitty keyboard protocol which currently doesn't have support for those keys.
The next steps to support this would be to add these keys to the kitty keyboard protocol upstream of helix.
Thank you for your pointers!
I opened an issue on the Kitty repo. While this would solve it for terminals speaking the protocol, I suppose it wouldn’t for those that don’t such as Konsole (logically). Is it possible to implement a solution that works for them too? I am completely uneducated on the subject, but AFAIK the kitty protocol aims to solve the shortcomings of traditional terminals. Maybe this is something not possible without it.
(Sorry for the double ping, posted from the wrong account.)
Unfortunately, it seems to be a dud for now. Kitty’s maintainer is not interested in adding support for them, but would welcome a PR