From ac6edc19520ce93e750195d3808ad715fe5944e1 Mon Sep 17 00:00:00 2001 From: rcmdnk Date: Tue, 4 Jun 2024 12:35:44 +0900 Subject: [PATCH] feat: Added shortcut 'option-l' for 'control-command-q' in index.html and personal_rcmdnk.json. --- docs/index.html | 6 +++- docs/json/personal_rcmdnk.json | 28 ++++++++++++++++--- .../personal_rcmdnk.json.html | 6 +++- src/json/personal_rcmdnk.json.erb | 10 +++++-- 4 files changed, 42 insertions(+), 8 deletions(-) diff --git a/docs/index.html b/docs/index.html index f0e3e02f4..02e682163 100644 --- a/docs/index.html +++ b/docs/index.html @@ -688,8 +688,8 @@

Personal Settings

command-shift-f - command-shift-q control-command-q + command-shift-q @@ -934,6 +934,10 @@

Personal Settings

control-m control-f3 + + option-l + control-command-q + command-d command-delete_or_backspace diff --git a/docs/json/personal_rcmdnk.json b/docs/json/personal_rcmdnk.json index 925a81c87..bbeb608f2 100644 --- a/docs/json/personal_rcmdnk.json +++ b/docs/json/personal_rcmdnk.json @@ -1863,8 +1863,8 @@ "key_code": "q", "modifiers": { "mandatory": [ - "command", - "shift" + "control", + "command" ] } }, @@ -1872,8 +1872,8 @@ { "key_code": "q", "modifiers": [ - "control", - "command" + "command", + "shift" ] } ] @@ -2737,6 +2737,26 @@ } ] }, + { + "type": "basic", + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "option" + ] + } + }, + "to": [ + { + "key_code": "q", + "modifiers": [ + "control", + "command" + ] + } + ] + }, { "type": "basic", "from": { diff --git a/src/extra_descriptions/personal_rcmdnk.json.html b/src/extra_descriptions/personal_rcmdnk.json.html index a95b3692d..90ffd8d01 100644 --- a/src/extra_descriptions/personal_rcmdnk.json.html +++ b/src/extra_descriptions/personal_rcmdnk.json.html @@ -258,8 +258,8 @@ command-shift-f - command-shift-q control-command-q + command-shift-q @@ -504,6 +504,10 @@ control-m control-f3 + + option-l + control-command-q + command-d command-delete_or_backspace diff --git a/src/json/personal_rcmdnk.json.erb b/src/json/personal_rcmdnk.json.erb index f51344247..a659bd9d7 100644 --- a/src/json/personal_rcmdnk.json.erb +++ b/src/json/personal_rcmdnk.json.erb @@ -278,8 +278,8 @@ }, { "type": "basic", - "from": <%= from("q", ["command", "shift"]) %>, - "to": <%= to([["q", ["control", "command"]]]) %> + "from": <%= from("q", ["control", "command"]) %>, + "to": <%= to([["q", ["command", "shift"]]]) %> } ] }, @@ -418,6 +418,12 @@ "to": <%= to([["f3", ["control"]]]) %>, "conditions": [ <%= frontmost_application_unless("emacs_key_bindings_exception") %> ] }, + <%# Lock %> + { + "type": "basic", + "from": <%= from("l", ["option"]) %>, + "to": <%= to([["q", ["control", "command"]]]) %> + }, <%# Delete %> { "type": "basic",