summaryrefslogtreecommitdiff
path: root/searx/plugins/vim_hotkeys.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-04-25 13:22:32 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-04-25 13:22:32 +0200
commit3c6a54012c157667f1efcb23a9652b973b80cbce (patch)
tree14461df0367387006530ea9d31fe69a159772c09 /searx/plugins/vim_hotkeys.py
parent603ecbeb6e75b28dff0427ac0cd3689348ef11ce (diff)
parentc12e41a80f7b88e75f6cf5960948c784a316f724 (diff)
Merge pull request #547 from ukwt/vim-hotkeys
Vim-inspired 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',)