diff options
author | Nathan Warner <[email protected]> | 2020-05-30 22:45:41 -0600 |
---|---|---|
committer | Nathan Warner <[email protected]> | 2020-05-30 22:45:41 -0600 |
commit | f8d96543de36dd2d9a223fd017b6c5f671ff3e6a (patch) | |
tree | d39e54107727f95d75fe92708806cf1d6dd6b02b /plugins/swap_jk | |
parent | b39e615683dae2d9b08939b7fb131cb8607c8415 (diff) |
Created hotkeys_force_top plugin
Renamed swap_jk to match new naming scheme.
Diffstat (limited to 'plugins/swap_jk')
-rw-r--r-- | plugins/swap_jk/init.php | 30 |
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 |