aboutsummaryrefslogtreecommitdiff
path: root/src/background/key-queue.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-08-23 22:01:29 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-08-23 22:01:29 +0900
commita5f1e06efcc64c181f2e06337e47e4705aebabb8 (patch)
tree0cc73b8fb885c6c7f4eeda908c5147fc64606557 /src/background/key-queue.js
parent1f15d2264305a5492f3f95d9fbdaf1e31fbb33fd (diff)
support zz command
Diffstat (limited to 'src/background/key-queue.js')
-rw-r--r--src/background/key-queue.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/background/key-queue.js b/src/background/key-queue.js
index 6319431..d3f4621 100644
--- a/src/background/key-queue.js
+++ b/src/background/key-queue.js
@@ -15,6 +15,7 @@ const DEFAULT_KEYMAP = [
{ keys: [{ code: KeyboardEvent.DOM_VK_L }], action: [ actions.TABS_NEXT, 1 ]},
{ keys: [{ code: KeyboardEvent.DOM_VK_Z }, { code: KeyboardEvent.DOM_VK_I }], action: [ actions.ZOOM_IN ]},
{ keys: [{ code: KeyboardEvent.DOM_VK_Z }, { code: KeyboardEvent.DOM_VK_O }], action: [ actions.ZOOM_OUT ]},
+ { keys: [{ code: KeyboardEvent.DOM_VK_Z }, { code: KeyboardEvent.DOM_VK_Z }], action: [ actions.ZOOM_NEUTRAL]},
{ 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 ]},