diff options
author | Andrew Dolgov <[email protected]> | 2012-12-30 13:36:40 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-30 13:36:40 +0400 |
commit | e938b1de117cfde17a5773fe0c6fc92185c873fe (patch) | |
tree | 4afe7134ba505ba9209833cf193603beb32706cb /plugins/swap_jk/swap_jk.php | |
parent | 0e44c2a0d422617a59e3926cf3ae22872aac041a (diff) |
rename plugin main class files
Diffstat (limited to 'plugins/swap_jk/swap_jk.php')
-rw-r--r-- | plugins/swap_jk/swap_jk.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/plugins/swap_jk/swap_jk.php b/plugins/swap_jk/swap_jk.php deleted file mode 100644 index 34b09bd77..000000000 --- a/plugins/swap_jk/swap_jk.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php -class Swap_JK extends Plugin { - - private $link; - private $host; - - function about() { - return array(1.0, - "Swap j and k hotkeys (for vi brethren)", - "fox"); - } - - function init($host) { - $this->link = $host->get_link(); - $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; - - } -} -?> |