summaryrefslogtreecommitdiff
path: root/plugins/swap_jk/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/swap_jk/init.php')
-rw-r--r--plugins/swap_jk/init.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/plugins/swap_jk/init.php b/plugins/swap_jk/init.php
deleted file mode 100644
index d85149ef3..000000000
--- a/plugins/swap_jk/init.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-class Swap_JK extends Plugin {
-
- private $host;
-
- function about() {
- return array(1.0,
- "Swap j and k hotkeys (for vi brethren)",
- "fox");
- }
-
- function init($host) {
- $this->host = $host;
-
- $host->add_hook($host::HOOK_HOTKEY_MAP, $this);
- }
-
- function hook_hotkey_map($hotkeys) {
-
- $hotkeys["j"] = "next_feed";
- $hotkeys["k"] = "prev_feed";
-
- return $hotkeys;
- }
-
- function api_version() {
- return 2;
- }
-
-} \ No newline at end of file