Stefan Haller
7bf05dfca4
Avoid showing <esc> in options map when it doesn't do anything
...
The code duplication between Escape and EscapeEnabled is unfortunate, but I
don't see a better way to solve this.
2025-08-14 17:59:38 +02:00
Stefan Haller
55d8e801f1
Use getters for AppState and UserConfig instead of accessing the fields directly
...
This will allow us to make them private.
2024-08-18 10:24:52 +02:00
Stefan Haller
cf27fd827b
Clear keybinding functions in resetHelpersAndControllers
...
When switching to a repo that was open before, the context tree is reused, so
before adding keybinding functions to those contexts again, we need to clear the
old ones.
2024-06-23 12:28:42 +02:00
Stefan Haller
a7c97400c6
Add a test demonstrating the bug
...
After switching to another repo and then back to the original one, all
keybinding suggestions in the status bar are shown twice.
2024-06-23 12:28:42 +02:00