From a2ee6897bfbb95a0cca50ab11042aaf94c5de77c Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 25 May 2019 21:55:22 +0900 Subject: [PATCH] Add repeat.last operation to default settings --- src/settings/keymaps.ts | 1 + src/shared/SettingData.ts | 1 + src/shared/Settings.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/src/settings/keymaps.ts b/src/settings/keymaps.ts index 38045ad..ffe0d48 100644 --- a/src/settings/keymaps.ts +++ b/src/settings/keymaps.ts @@ -63,6 +63,7 @@ const fields = [ ['zoom.out', 'Zoom-out'], ['zoom.neutral', 'Reset zoom level'], ['page.source', 'Open a page source'], + ['repeat.last', 'Repeat last change'], ] ]; diff --git a/src/shared/SettingData.ts b/src/shared/SettingData.ts index 05e21fa..1c085cf 100644 --- a/src/shared/SettingData.ts +++ b/src/shared/SettingData.ts @@ -390,6 +390,7 @@ export const DefaultSettingData: SettingData = SettingData.valueOf({ "/": { "type": "find.start" }, "n": { "type": "find.next" }, "N": { "type": "find.prev" }, + ".": { "type": "repeat.last" }, "": { "type": "addon.toggle.enabled" } }, "search": { diff --git a/src/shared/Settings.ts b/src/shared/Settings.ts index c1b5a51..e1e2046 100644 --- a/src/shared/Settings.ts +++ b/src/shared/Settings.ts @@ -177,6 +177,7 @@ export const DefaultSetting: Settings = { '/': { 'type': 'find.start' }, 'n': { 'type': 'find.next' }, 'N': { 'type': 'find.prev' }, + '.': { 'type': 'repeat.last' }, '': { 'type': 'addon.toggle.enabled' } }, search: {