aboutsummaryrefslogtreecommitdiff
path: root/src/background
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-08-22 22:00:42 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-08-22 22:00:42 +0900
commitab5fd9a336166cab75ff00e65afb4be991ff0765 (patch)
treef2e933c927baf64cc393ea1a83ed57cc1fcc9bb2 /src/background
parent13fb726332e9638cb3fafc477cf9fe641cb906ce (diff)
parentdcebe336281d068649927a8bb8d3c0403807ef01 (diff)
Merge branch 'follow-hints'
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 {