While Blender's keymap editor is very flexible, it isn't very easy to get a clear overview, to spot conflicts, or to edit in general.
Issues with the current keymap editor:
- It's hard to get an overview of the keyboard
- You cannot easily see how a given keymap works
- It's very hard or impossible to tell which keys are free vs used
- No way to print out to get an overview
- It's not possible to tell if there's a conflict
- It's not easy to see which entries are custom vs 'original'
We can solve these issues with a new approach for how the keymap editor should work:
Rather than just listing entries in a long nested list, we can do something more visual that shows the layout of the keyboard.
Above the keyboard, users can choose which editor and which mode to see. You can also pick if you want to edit the main keyboard, the keypad, or the mouse buttons:
An example of how the Mouse section could work:
In the top right you can choose which modifiers to take into account for the keyboard below. In this case Shift is enabled, so we only show items that are activated while holding Shift.
The keys themselves highlight if there is a shortcut added. The blue key here is the one that is selected. The dot means that it was customized. The warning symbol means there is a conflict on this key.
When a key is selected, you can see the operator assigned to it below. This is similar to the current keymap editor:
On the left we have a way to search for all operators, filtered by the current context, which you can apply to the current key in one of two ways:
- Either by first selecting the key, then searching for an operator and clicking Apply.
- Or, you could simply search for an operator and drag it directly onto a key
Normally you see a list of all operators which apply in the current context:
You can search this list to narrow the results down: