aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html
index d175c9b2..b31a911d 100644
--- a/background_page.html
+++ b/background_page.html
@@ -17,6 +17,10 @@
}
var keyToCommandRegistry = {};
+ keyToCommandRegistry['j'] = 'scrollDown';
+ keyToCommandRegistry['k'] = 'scrollUp';
+ keyToCommandRegistry['h'] = 'scrollLeft';
+ keyToCommandRegistry['l'] = 'scrollRight';
keyToCommandRegistry['gg'] = 'scrollToTop';
keyToCommandRegistry['G'] = 'scrollToBottom';
keyToCommandRegistry['t'] = createTab;