Fix form keys

jh-changes
Shin'ya Ueoka 6 years ago
parent 37cd9d2f91
commit c8f54a899d
  1. 12
      src/settings/keymaps.ts

@ -1,3 +1,5 @@
/* eslint-disable max-len */
const fields = [ const fields = [
[ [
['scroll.vertically?{"count":1}', 'Scroll down'], ['scroll.vertically?{"count":1}', 'Scroll down'],
@ -19,8 +21,8 @@ const fields = [
['tabs.close', 'Close a tab'], ['tabs.close', 'Close a tab'],
['tabs.close.right', 'Close tabs to the right'], ['tabs.close.right', 'Close tabs to the right'],
['tabs.reopen', 'Reopen closed tab'], ['tabs.reopen', 'Reopen closed tab'],
['tabs.next?{"count":1}', 'Select next Tab'], ['tabs.next', 'Select next Tab'],
['tabs.prev?{"count":1}', 'Select prev Tab'], ['tabs.prev', 'Select prev Tab'],
['tabs.first', 'Select first tab'], ['tabs.first', 'Select first tab'],
['tabs.last', 'Select last tab'], ['tabs.last', 'Select last tab'],
['tabs.reload?{"cache":false}', 'Reload current tab'], ['tabs.reload?{"cache":false}', 'Reload current tab'],
@ -28,8 +30,8 @@ const fields = [
['tabs.pin.toggle', 'Toggle pinned state'], ['tabs.pin.toggle', 'Toggle pinned state'],
['tabs.duplicate', 'Duplicate a tab'], ['tabs.duplicate', 'Duplicate a tab'],
], [ ], [
['follow.start?{"newTab":false}', 'Follow a link'], ['follow.start?{"newTab":false,"background":false}', 'Follow a link'],
['follow.start?{"newTab":true}', 'Follow a link in new tab'], ['follow.start?{"newTab":true,"background":false}', 'Follow a link in new tab'],
['navigate.history.prev', 'Go back in histories'], ['navigate.history.prev', 'Go back in histories'],
['navigate.history.next', 'Go forward in histories'], ['navigate.history.next', 'Go forward in histories'],
['navigate.link.next', 'Open next link'], ['navigate.link.next', 'Open next link'],
@ -37,7 +39,7 @@ const fields = [
['navigate.parent', 'Go to parent directory'], ['navigate.parent', 'Go to parent directory'],
['navigate.root', 'Go to root directory'], ['navigate.root', 'Go to root directory'],
['page.source', 'Open page source'], ['page.source', 'Open page source'],
['page.home', 'Open start page to current tab'], ['page.home?{"newTab":false}', 'Open start page to current tab'],
['page.home?{"newTab":true}', 'Open start page in new tab'], ['page.home?{"newTab":true}', 'Open start page in new tab'],
['focus.input', 'Focus input'], ['focus.input', 'Focus input'],
], [ ], [