mirror of
https://github.com/searxng/searxng.git
synced 2025-07-15 01:09:21 +02:00
[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:
parent
09935e2897
commit
317db5b04f
6 changed files with 30 additions and 12 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue