From 1afbde6e199309703f07f2d031632d9d2422a3d5 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Wed, 23 Aug 2017 21:28:50 +0900 Subject: support history navigation --- src/background/key-queue.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/background/key-queue.js') 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 { -- cgit v1.2.3