summaryrefslogtreecommitdiff
path: root/searx/plugins/vim_hotkeys.py
diff options
context:
space:
mode:
authorKirill Isakov <ukwt@ya.ru>2016-04-23 22:26:02 +0600
committerKirill Isakov <ukwt@ya.ru>2016-04-23 22:26:02 +0600
commit3246541bdc405f269179ec737b83772b926c43a6 (patch)
tree0b311e6050af84231e01139b0b2c00e09178dad7 /searx/plugins/vim_hotkeys.py
parent603ecbeb6e75b28dff0427ac0cd3689348ef11ce (diff)
downloadsearxng-3246541bdc405f269179ec737b83772b926c43a6.tar.gz
searxng-3246541bdc405f269179ec737b83772b926c43a6.zip
[WIP] Add vim-hotkeys plugin
Diffstat (limited to 'searx/plugins/vim_hotkeys.py')
-rw-r--r--searx/plugins/vim_hotkeys.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/plugins/vim_hotkeys.py b/searx/plugins/vim_hotkeys.py
new file mode 100644
index 000000000..e537a3ac8
--- /dev/null
+++ b/searx/plugins/vim_hotkeys.py
@@ -0,0 +1,10 @@
+from flask.ext.babel import gettext
+
+name = gettext('Vim-like hotkeys')
+description = gettext('Navigate search results with Vim-like hotkeys '
+ '(JavaScript required). '
+ 'Press "h" key on main or result page to get help.')
+default_on = False
+
+js_dependencies = ('plugins/js/vim_hotkeys.js',)
+css_dependencies = ('plugins/css/vim_hotkeys.css',)