aboutsummaryrefslogtreecommitdiff
path: root/src/background
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-09-17 13:27:35 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-09-17 13:27:35 +0900
commit78233b25b76df55d519f1d9082267aba876b4835 (patch)
tree05cea028a87f067a83d02638f187b92b3ec6ecd9 /src/background
parentae317113e76b593949385102e6bea16e50c16ce5 (diff)
parentac8f7e65dc90327e05fb30fd5b20d56c3799f3d8 (diff)
Merge branch 'pagenation-and-navigation'
Diffstat (limited to 'src/background')
-rw-r--r--src/background/keys.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/background/keys.js b/src/background/keys.js
index 9121e0f..34483a0 100644
--- a/src/background/keys.js
+++ b/src/background/keys.js
@@ -28,8 +28,12 @@ const defaultKeymap = {
'zz': { type: operations.ZOOM_NEUTRAL },
'f': { type: operations.FOLLOW_START, newTab: false },
'F': { type: operations.FOLLOW_START, newTab: true },
- 'H': { type: operations.HISTORY_PREV },
- 'L': { type: operations.HISTORY_NEXT },
+ 'H': { type: operations.NAVIGATE_HISTORY_PREV },
+ 'L': { type: operations.NAVIGATE_HISTORY_NEXT },
+ '[[': { type: operations.NAVIGATE_LINK_PREV },
+ ']]': { type: operations.NAVIGATE_LINK_NEXT },
+ 'gu': { type: operations.NAVIGATE_PARENT },
+ 'gU': { type: operations.NAVIGATE_ROOT },
};
const asKeymapChars = (keys) => {