fix keymaps

jh-changes
Shin'ya Ueoka 7 years ago
parent 9a02904697
commit b1908a2876
  1. 12
      src/background/key-queue.js

@ -6,12 +6,12 @@ const DEFAULT_KEYMAP = {
'O': [ actions.CMD_TABS_OPEN, true ], 'O': [ actions.CMD_TABS_OPEN, true ],
'k': [ actions.SCROLL_LINES, -1 ], 'k': [ actions.SCROLL_LINES, -1 ],
'j': [ actions.SCROLL_LINES, 1 ], 'j': [ actions.SCROLL_LINES, 1 ],
'<C-e>': [ actions.SCROLL_LINES, -1 ], '<C-E>': [ actions.SCROLL_LINES, -1 ],
'<C-y>': [ actions.SCROLL_LINES, 1 ], '<C-Y>': [ actions.SCROLL_LINES, 1 ],
'<C-u>': [ actions.SCROLL_PAGES, -0.5 ], '<C-U>': [ actions.SCROLL_PAGES, -0.5 ],
'<C-d>': [ actions.SCROLL_PAGES, 0.5 ], '<C-D>': [ actions.SCROLL_PAGES, 0.5 ],
'<C-b>': [ actions.SCROLL_PAGES, -1 ], '<C-B>': [ actions.SCROLL_PAGES, -1 ],
'<C-f>': [ actions.SCROLL_PAGES, 1 ], '<C-F>': [ actions.SCROLL_PAGES, 1 ],
'gg': [ actions.SCROLL_TOP ], 'gg': [ actions.SCROLL_TOP ],
'G': [ actions.SCROLL_BOTTOM ], 'G': [ actions.SCROLL_BOTTOM ],
'd': [ actions.TABS_CLOSE ], 'd': [ actions.TABS_CLOSE ],