From bf8cfbcb35365f83c94851a78bb0ea797e9d9ae2 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 11 Oct 2018 15:00:07 +0900 Subject: [PATCH] Add mark keymaps --- src/shared/operations.js | 4 ++++ src/shared/settings/default.js | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/shared/operations.js b/src/shared/operations.js index b022537..3a94ade 100644 --- a/src/shared/operations.js +++ b/src/shared/operations.js @@ -69,4 +69,8 @@ export default { FIND_START: 'find.start', FIND_NEXT: 'find.next', FIND_PREV: 'find.prev', + + /// Mark + MARK_SET_PREFIX: 'mark.set.prefix', + MARK_JUMP_PREFIX: 'mark.jump.prefix', }; diff --git a/src/shared/settings/default.js b/src/shared/settings/default.js index 6feb9ec..b2dffc4 100644 --- a/src/shared/settings/default.js +++ b/src/shared/settings/default.js @@ -42,6 +42,8 @@ export default { "zz": { "type": "zoom.neutral" }, "f": { "type": "follow.start", "newTab": false }, "F": { "type": "follow.start", "newTab": true, "background": false }, + "'": { "type": "mark.set.prefix" }, + "m": { "type": "mark.jump.prefix" }, "H": { "type": "navigate.history.prev" }, "L": { "type": "navigate.history.next" }, "[[": { "type": "navigate.link.prev" },