From c22580b55f959c8deaebf9aa3a7895c7795df75d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 27 Feb 2013 22:48:43 +0400 Subject: implement classic next/prev article movement behavior, bind to ctrl-arrows --- include/functions.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 979a28761..8db72f56d 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1859,6 +1859,8 @@ "prev_feed" => __("Open previous feed"), "next_article" => __("Open next article"), "prev_article" => __("Open previous article"), + "next_article_noscroll" => __("Open next article (don't scroll long articles)"), + "prev_article_noscroll" => __("Open previous article (don't scroll long articles)"), "search_dialog" => __("Show search dialog")), __("Article") => array( "toggle_mark" => __("Toggle starred"), @@ -1919,6 +1921,8 @@ "p" => "prev_article", "(38)|up" => "prev_article", "(40)|down" => "next_article", + "^(38)|Ctrl-up" => "prev_article_noscroll", + "^(40)|Ctrl-down" => "next_article_noscroll", "(191)|/" => "search_dialog", // "article" => array( "s" => "toggle_mark", -- cgit v1.2.3