Merge pull request #52 from markwaters/master
Added requested article_scroll_* keys for #557
This commit is contained in:
commit
ef1162593f
|
@ -6,7 +6,7 @@ class GoogleReaderKeys extends Plugin {
|
||||||
|
|
||||||
function about() {
|
function about() {
|
||||||
return array(1.0,
|
return array(1.0,
|
||||||
"Keyboard hotkeys like Google Reader",
|
"Keyboard hotkeys emulate Google Reader",
|
||||||
"markwaters");
|
"markwaters");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,13 +19,15 @@ class GoogleReaderKeys extends Plugin {
|
||||||
|
|
||||||
function hook_hotkey_map($hotkeys) {
|
function hook_hotkey_map($hotkeys) {
|
||||||
|
|
||||||
$hotkeys["j"] = "next_article_noscroll";
|
$hotkeys["j"] = "next_article_noscroll";
|
||||||
$hotkeys["N"] = "next_feed";
|
$hotkeys["k"] = "prev_article_noscroll";
|
||||||
$hotkeys["k"] = "prev_article_noscroll";
|
$hotkeys["N"] = "next_feed";
|
||||||
$hotkeys["P"] = "prev_feed";
|
$hotkeys["P"] = "prev_feed";
|
||||||
$hotkeys["v"] = "open_in_new_window";
|
$hotkeys["v"] = "open_in_new_window";
|
||||||
$hotkeys["(32)|space"] = "next_article";
|
$hotkeys["r"] = "feed_refresh";
|
||||||
$hotkeys["r"] = "feed_refresh";
|
$hotkeys["(32)|space"] = "next_article";
|
||||||
|
$hotkeys["(38)|up"] = "article_scroll_up";
|
||||||
|
$hotkeys["(40)|down"] = "article_scroll_down";
|
||||||
|
|
||||||
return $hotkeys;
|
return $hotkeys;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue