From 5d53aac20f0cb0737bb475d51ce429e8547d3e33 Mon Sep 17 00:00:00 2001 From: Alex Balgavy Date: Sat, 7 Oct 2023 21:05:46 +0200 Subject: [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 --- searx/preferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/preferences.py') 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 -- cgit v1.2.3