[mod] preferences: implement drop-down menu for hotkeys (default, vim)

Replace the on/off checkbox of the vim-hotkeys in the preferences by a drop-down
menu.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2023-09-16 17:14:18 +02:00 committed by Markus Heiser
parent 09935e2897
commit 317db5b04f
6 changed files with 30 additions and 12 deletions

View file

@ -465,6 +465,10 @@ class Preferences:
settings['ui']['search_on_category_select'],
locked=is_locked('search_on_category_select')
),
'hotkeys': EnumStringSetting(
'default',
choices=['default', 'vim']
),
# fmt: on
}