From 4c72d3b4fc1988fae6fd9890a198b162c30ead15 Mon Sep 17 00:00:00 2001 From: ltGuillaume Date: Fri, 12 Apr 2019 07:28:45 +0000 Subject: [PATCH 1/2] Add keyboard shortcut 'g r': Go to Recently read --- js/tt-rss.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/tt-rss.js b/js/tt-rss.js index a46fc17e4..eaedecd22 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -416,6 +416,9 @@ require(["dojo/_base/kernel", dijit.byId("feedTree").collapseCat(Feeds.getActive()); } }; + this.hotkey_actions["goto_read"] = function () { + Feeds.open({feed: -6}); + }; this.hotkey_actions["goto_all"] = function () { Feeds.open({feed: -4}); }; From 3d8c6967dabeba6d568845a278a074762ccce921 Mon Sep 17 00:00:00 2001 From: ltGuillaume Date: Fri, 12 Apr 2019 07:29:15 +0000 Subject: [PATCH 2/2] Add keyboard shortcut 'g r': Go to Recently read --- include/functions.php | 2 ++ 1 file changed, 2 insertions(+) mode change 100755 => 100644 include/functions.php diff --git a/include/functions.php b/include/functions.php old mode 100755 new mode 100644 index c09e62cca..963018858 --- a/include/functions.php +++ b/include/functions.php @@ -1203,6 +1203,7 @@ "goto_fresh" => __("Fresh"), "goto_marked" => __("Starred"), "goto_published" => __("Published"), + "goto_read" => __("Recently read"), "goto_tagcloud" => __("Tag cloud"), "goto_prefs" => __("Preferences")), __("Other") => array( @@ -1269,6 +1270,7 @@ "g f" => "goto_fresh", "g s" => "goto_marked", "g p" => "goto_published", + "g r" => "goto_read", "g t" => "goto_tagcloud", "g P" => "goto_prefs", "r" => "select_article_cursor",