From a462f3c4d0a6c9abc152042be8cd8bb473fdfbba Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 9 May 2021 11:58:40 +0900 Subject: Add reader-view keymaps to gr --- src/settings/keymaps.ts | 1 + src/shared/settings/Settings.ts | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/settings/keymaps.ts b/src/settings/keymaps.ts index 25c7a51..ff87cf4 100644 --- a/src/settings/keymaps.ts +++ b/src/settings/keymaps.ts @@ -31,6 +31,7 @@ const fields = [ ['tabs.reload?{"cache":true}', "Reload with no caches"], ["tabs.pin.toggle", "Toggle pinned state"], ["tabs.duplicate", "Duplicate a tab"], + ["tabs.reader.toggle", "Reader view"], ], [ ['follow.start?{"newTab":false,"background":false}', "Follow a link"], diff --git a/src/shared/settings/Settings.ts b/src/shared/settings/Settings.ts index 43297a3..6c4fa0a 100644 --- a/src/shared/settings/Settings.ts +++ b/src/shared/settings/Settings.ts @@ -133,6 +133,7 @@ export const DefaultSettingJSONText = `{ "gf": { "type": "page.source" }, "gh": { "type": "page.home" }, "gH": { "type": "page.home", "newTab": true }, + "gr": { "type": "tabs.reader.toggle" }, "y": { "type": "urls.yank" }, "p": { "type": "urls.paste", "newTab": false }, "P": { "type": "urls.paste", "newTab": true }, -- cgit v1.2.3