mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
[mod] add hotkeys option to settings.yml
The change in the hotkey mechanism introduced in 317db5b04
does not allow
configuration via `settings.yml`. This commit adds that functionality.
Closes: #2898
This commit is contained in:
parent
ff78b1a902
commit
5d53aac20f
4 changed files with 8 additions and 1 deletions
|
@ -466,7 +466,7 @@ class Preferences:
|
|||
locked=is_locked('search_on_category_select')
|
||||
),
|
||||
'hotkeys': EnumStringSetting(
|
||||
'default',
|
||||
settings['ui']['hotkeys'],
|
||||
choices=['default', 'vim']
|
||||
),
|
||||
# fmt: on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue