aboutsummaryrefslogtreecommitdiff
path: root/src/background
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-08-20 21:19:42 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-08-20 21:19:42 +0900
commit355da18d3d6232620ebd7548f8d41b6f1af5aa08 (patch)
tree7887a63b5f521ea20ac99b6698c1d171e02a1335 /src/background
parent99c1b831330462442e4c41553c29887ecdd96583 (diff)
add follow fot a tags
Diffstat (limited to 'src/background')
-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 d753bc1..5693b36 100644
--- a/src/background/key-queue.js
+++ b/src/background/key-queue.js
@@ -13,6 +13,8 @@ const DEFAULT_KEYMAP = [
{ keys: [{ code: KeyboardEvent.DOM_VK_U }], action: [ actions.TABS_REOPEN]},
{ keys: [{ code: KeyboardEvent.DOM_VK_H }], action: [ actions.TABS_PREV, 1 ]},
{ 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 ]},
]
export default class KeyQueue {