X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=plugins%2Fgooglereaderkeys%2Finit.php;h=cf0605cf5a3da7acd8154098b332a0e03c314f67;hb=8add63ca316fa1bf30a8e14a2726a64d9648ff3c;hp=afdc58ec7674b7a53d3e501e7a05b550d2412851;hpb=e8133ac1cb618545c55b8405faef5f43a5feb636;p=tt-rss.git diff --git a/plugins/googlereaderkeys/init.php b/plugins/googlereaderkeys/init.php index afdc58ec..cf0605cf 100644 --- a/plugins/googlereaderkeys/init.php +++ b/plugins/googlereaderkeys/init.php @@ -1,7 +1,5 @@ link = $host->get_link(); $this->host = $host; $host->add_hook($host::HOOK_HOTKEY_MAP, $this); @@ -26,12 +23,19 @@ class GoogleReaderKeys extends Plugin { $hotkeys["v"] = "open_in_new_window"; $hotkeys["r"] = "feed_refresh"; $hotkeys["m"] = "toggle_unread"; + $hotkeys["u"] = "collapse_sidebar"; + $hotkeys["o"] = "toggle_expand"; + $hotkeys["(13)|enter"] = "toggle_expand"; + $hotkeys["*(191)|?"] = "help_dialog"; $hotkeys["(32)|space"] = "next_article"; $hotkeys["(38)|up"] = "article_scroll_up"; $hotkeys["(40)|down"] = "article_scroll_down"; return $hotkeys; + } + function api_version() { + return 2; } -} -?> + +} \ No newline at end of file