diff options
author | Alex Balgavy <alex@balgavy.eu> | 2023-10-07 21:05:46 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-10-09 18:13:00 +0200 |
commit | 5d53aac20f0cb0737bb475d51ce429e8547d3e33 (patch) | |
tree | f1dbebc2b8f5a221b2839ad822e94b46fac88253 /searx/preferences.py | |
parent | ff78b1a90265449495bc0200c6fa7706f4466468 (diff) | |
download | searxng-5d53aac20f0cb0737bb475d51ce429e8547d3e33.tar.gz searxng-5d53aac20f0cb0737bb475d51ce429e8547d3e33.zip |
[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
Diffstat (limited to 'searx/preferences.py')
-rw-r--r-- | searx/preferences.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/preferences.py b/searx/preferences.py index c65a9b9d0..ad0e2867e 100644 --- a/searx/preferences.py +++ b/searx/preferences.py @@ -466,7 +466,7 @@ class Preferences: locked=is_locked('search_on_category_select') ), 'hotkeys': EnumStringSetting( - 'default', + settings['ui']['hotkeys'], choices=['default', 'vim'] ), # fmt: on |