aboutsummaryrefslogtreecommitdiff
path: root/src/background/key-queue.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-08-23 21:28:50 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-08-23 21:53:02 +0900
commit1afbde6e199309703f07f2d031632d9d2422a3d5 (patch)
tree49e9b95f5069ee31c6fc8a10809afc566e455868 /src/background/key-queue.js
parenteec79730606ab3b49529d8063c6646d6309d8084 (diff)
support history navigation
Diffstat (limited to 'src/background/key-queue.js')
-rw-r--r--src/background/key-queue.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/background/key-queue.js b/src/background/key-queue.js
index 5693b36..a07c7f4 100644
--- a/src/background/key-queue.js
+++ b/src/background/key-queue.js
@@ -15,6 +15,8 @@ const DEFAULT_KEYMAP = [
{ keys: [{ code: KeyboardEvent.DOM_VK_L }], action: [ actions.TABS_NEXT, 1 ]},
{ keys: [{ code: KeyboardEvent.DOM_VK_F }], action: [ actions.FOLLOW_START, false ]},
{ keys: [{ code: KeyboardEvent.DOM_VK_F, shift: true }], action: [ actions.FOLLOW_START, true ]},
+ { keys: [{ code: KeyboardEvent.DOM_VK_H, shift: true }], action: [ actions.HISTORY_PREV ]},
+ { keys: [{ code: KeyboardEvent.DOM_VK_L, shift: true }], action: [ actions.HISTORY_NEXT ]},
]
export default class KeyQueue {