summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-05-23 08:53:18 +0300
committerAndrew Dolgov <[email protected]>2020-05-23 08:53:18 +0300
commit19893d33e35d05eb104bfc53174b9f112318d479 (patch)
tree724ccc953c80b635faf8ec35f0df9f3d1b3a187d /include/functions.php
parentebb373987a38d6109fb235c1e0722f5fd024d4ed (diff)
only bind up/down in 3 panel mode
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index 8739af052..4d54f7e35 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1098,6 +1098,8 @@
return $hotkeys;
}
+ // {3} - 3 panel mode only
+ // {C} - combined mode only
function get_hotkeys_map() {
$hotkeys = array(
"k" => "next_feed",
@@ -1108,8 +1110,8 @@
"P" => "article_page_up",
"*(33)|Shift+PgUp" => "article_page_up",
"*(34)|Shift+PgDn" => "article_page_down",
- "(38)|Up" => "prev_article_or_scroll",
- "(40)|Down" => "next_article_or_scroll",
+ "{3}(38)|Up" => "prev_article_or_scroll",
+ "{3}(40)|Down" => "next_article_or_scroll",
"*(38)|Shift+Up" => "article_scroll_up",
"*(40)|Shift+Down" => "article_scroll_down",
"^(38)|Ctrl+Up" => "prev_article_noscroll",