summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences/hotkeys.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/simple/preferences/hotkeys.html')
-rw-r--r--searx/templates/simple/preferences/hotkeys.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/searx/templates/simple/preferences/hotkeys.html b/searx/templates/simple/preferences/hotkeys.html
new file mode 100644
index 000000000..c13d0c8d2
--- /dev/null
+++ b/searx/templates/simple/preferences/hotkeys.html
@@ -0,0 +1,23 @@
+<fieldset>{{- '' -}}
+ <legend id="pref_hotkeys">{{- _('Hotkeys') -}}</legend>{{- '' -}}
+ <div class="value">{{- '' -}}
+ <select name="hotkeys" aria-labelledby="pref_hotkeys">{{- '' -}}
+ <option value="default"
+ {%- if hotkeys == 'default' %} selected="selected"
+ {%- endif -%}>
+ SearXNG{{- '' -}}
+ </option>{{- '' -}}
+ <option value="vim"
+ {%- if hotkeys == 'vim' %} selected="selected"
+ {%- endif -%}>
+ {{- _('Vim-like') -}}
+ </option>{{- '' -}}
+ </select>{{- '' -}}
+ </div>{{- '' -}}
+ <div class="description">
+ {{- _(
+ 'Navigate search results with hotkeys (JavaScript required). '
+ 'Press "h" key on main or result page to get help.'
+ ) -}}
+ </div>{{- '' -}}
+</fieldset>{{- '' -}}