]> git.wh0rd.org Git - tt-rss.git/commitdiff
Added requested article_scroll_up and article_scroll_down keys.
authorMark Waters <idleborg@gmail.com>
Sat, 16 Mar 2013 11:06:59 +0000 (12:06 +0100)
committerMark Waters <idleborg@gmail.com>
Sat, 16 Mar 2013 11:06:59 +0000 (12:06 +0100)
plugins/googlereaderkeys/init.php

index 769581908e598819ec8728ca9eeea968e4a3c4b7..97133d3058398601bc505ae7a00798d386288fc1 100644 (file)
@@ -6,7 +6,7 @@ class GoogleReaderKeys extends Plugin {
 
        function about() {
                return array(1.0,
-                       "Keyboard hotkeys like Google Reader",
+                       "Keyboard hotkeys emulate Google Reader",
                        "markwaters");
        }
 
@@ -19,13 +19,15 @@ class GoogleReaderKeys extends Plugin {
 
        function hook_hotkey_map($hotkeys) {
 
-               $hotkeys["j"] = "next_article_noscroll";
-               $hotkeys["N"] = "next_feed";
-               $hotkeys["k"] = "prev_article_noscroll";
-               $hotkeys["P"] = "prev_feed";
-               $hotkeys["v"] = "open_in_new_window";
-               $hotkeys["(32)|space"] = "next_article";
-               $hotkeys["r"] = "feed_refresh";
+               $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["(32)|space"]  = "next_article";
+               $hotkeys["(38)|up"]     = "article_scroll_up";
+               $hotkeys["(40)|down"]   = "article_scroll_down";
 
                return $hotkeys;