add focus input key map

jh-changes
Shin'ya Ueoka 7 years ago
parent be1f8e4d71
commit e3fdf742e7
  1. 1
      src/settings/components/form/keymaps-form.jsx
  2. 1
      src/shared/settings/default.js

@ -36,6 +36,7 @@ const KeyMapFields = [
['navigate.link.prev', 'Open previous link'], ['navigate.link.prev', 'Open previous link'],
['navigate.parent', 'Go to parent directory'], ['navigate.parent', 'Go to parent directory'],
['navigate.root', 'Go to root directory'], ['navigate.root', 'Go to root directory'],
['focus.input', 'Focus input'],
], [ ], [
['find.start', 'Start find mode'], ['find.start', 'Start find mode'],
['find.next', 'Find next word'], ['find.next', 'Find next word'],

@ -43,6 +43,7 @@ export default {
"]]": { "type": "navigate.link.next" }, "]]": { "type": "navigate.link.next" },
"gu": { "type": "navigate.parent" }, "gu": { "type": "navigate.parent" },
"gU": { "type": "navigate.root" }, "gU": { "type": "navigate.root" },
"gi": { "type": "focus.input" },
"y": { "type": "urls.yank" }, "y": { "type": "urls.yank" },
"p": { "type": "urls.paste", "newTab": false }, "p": { "type": "urls.paste", "newTab": false },
"P": { "type": "urls.paste", "newTab": true }, "P": { "type": "urls.paste", "newTab": true },