Persistence of key bindings
See original GitHub issueEvery major release I get a broken UX due to a shortcuts change. Furthermore, when I upgraded to 3.0 I’ve lost my favorite feature - export to clipboard as curl command.
But I found that in 3.0 we have commands and configurable key bindings. So I could solve my issue with them. I thought that way, but I was wrong - all bindings I’ve updated got lost as soon as I quited.
I had a quick peek into the source code, but the only explicit initialization of the keymap I found is defaultkeys.map(self.keymap)
in master.py
.
Is there a way to keep the changes in key bindings between restarts, that I’ve missed?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Persistent key binding - Programming & Scripting
I'm working on my Options menu and want the changes the player makes to be persistent. For options like video settings there is...
Read more >How can I force fish to save new key bindings persistently after ...
I open a terminal window, the default shell is fish. I add a key binding with: bind \eg functionname; It works in the...
Read more >Unity Input System: Persistent Input Rebinds
A detailed tutorial on how I handle persistent rebinds with the new ... (keyboard and gamepad), four actions, and two bindings per action....
Read more >Any tips for remembering key-bindings better? : r/emacs - Reddit
It's just a matter of persistence. At some point you won't remember keybindings, but finger moves (much like passwords or pins.) ...
Read more >Character specific keybinding not persistent - Blizzard Forums
I have a lot of characters I play regularly. Most of them share a common keybinding setup and so I have the “character...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi there. Unfortunately custom key binding persistence just didn’t quite make it into the 3.0 release. It’s a top priority for the next release, though, and I have everything ready for us to take the next step. There are two ways we could go about this:
keybindings.yaml
file in the config directory dedicated just to key bindings.console.key.bind
command to add custom keybindings. I think I prefer this approach, which will extend to all addons and open a bunch of other doors as well.If you felt like digging in, I’d love a hand with this. If not, you can expect this to land in master in the coming weeks, and be out in the 4.0 release around the beginning of May.
I’ll close this ticket, and we can discuss any issues in more specific tickets.