diff options
author | Andrew Dolgov <[email protected]> | 2021-05-21 13:30:56 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-05-21 13:30:56 +0300 |
commit | d09a64d6f9f5cb9c575986d32d1f8cfa3f183384 (patch) | |
tree | f12b84fb2b557d74256d1ec2905d6fd28f78ac23 /plugins/googlereaderkeys | |
parent | 8574532b7f57593af41719c478258fc0024cd523 (diff) |
split googlereaderkeys plugin into separate repo
Diffstat (limited to 'plugins/googlereaderkeys')
-rw-r--r-- | plugins/googlereaderkeys/init.php | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/plugins/googlereaderkeys/init.php b/plugins/googlereaderkeys/init.php deleted file mode 100644 index 936158417..000000000 --- a/plugins/googlereaderkeys/init.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php -class GoogleReaderKeys extends Plugin { - private $host; - - function about() { - return array(1.0, - "Keyboard hotkeys emulate Google Reader", - "markwaters"); - } - - function init($host) { - $this->host = $host; - - $host->add_hook($host::HOOK_HOTKEY_MAP, $this); - } - - function hook_hotkey_map($hotkeys) { - - $hotkeys["j"] = "next_article_noscroll"; - $hotkeys["k"] = "prev_article_noscroll"; - $hotkeys["N"] = "next_feed"; - $hotkeys["P"] = "prev_feed"; - $hotkeys["v"] = "open_in_new_window"; - $hotkeys["r"] = "feed_refresh"; - $hotkeys["m"] = "toggle_unread"; - $hotkeys["o"] = "toggle_expand"; - $hotkeys["\r|Enter"] = "toggle_expand"; - $hotkeys["?"] = "help_dialog"; - $hotkeys[" |Space"] = "next_article"; - $hotkeys["(38)|Up"] = "article_scroll_up"; - $hotkeys["(40)|Down"] = "article_scroll_down"; - - return $hotkeys; - } - - function api_version() { - return 2; - } - -} |