diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-16 20:26:02 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-16 20:26:02 +0900 |
commit | dc860d32f50e2fc21a4f38663bfb0b9099a77513 (patch) | |
tree | 407ac0092fcb20c94e407bf1cbc8e5c4844b3bd6 /src/background/key-queue.js | |
parent | 36680ed8fe1d2b3d703affe400eb7e42a00e0df3 (diff) |
implement d/u command
Diffstat (limited to 'src/background/key-queue.js')
-rw-r--r-- | src/background/key-queue.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/background/key-queue.js b/src/background/key-queue.js index 3f25791..d753bc1 100644 --- a/src/background/key-queue.js +++ b/src/background/key-queue.js @@ -9,6 +9,8 @@ const DEFAULT_KEYMAP = [ { keys: [{ code: KeyboardEvent.DOM_VK_J }], action: [ actions.SCROLL_DOWN, 1 ]}, { keys: [{ code: KeyboardEvent.DOM_VK_G }, { code: KeyboardEvent.DOM_VK_G }], action: [ actions.SCROLL_TOP ]}, { keys: [{ code: KeyboardEvent.DOM_VK_G, shift: true }], action: [ actions.SCROLL_BOTTOM ]}, + { keys: [{ code: KeyboardEvent.DOM_VK_D }], action: [ actions.TABS_CLOSE ]}, + { 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 ]}, ] |