Skip to content

Commit

Permalink
feat: Added shortcut 'option-l' for 'control-command-q' in index.html…
Browse files Browse the repository at this point in the history
… and personal_rcmdnk.json.
  • Loading branch information
rcmdnk committed Jun 4, 2024
1 parent 1e52491 commit ac6edc1
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 8 deletions.
6 changes: 5 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,8 @@ <h3 class="panel-title">Personal Settings</h3>
<td>command-shift-f</td>
</tr>
<tr>
<td>command-shift-q</td>
<td>control-command-q</td>
<td>command-shift-q</td>
</tr>
</table>

Expand Down Expand Up @@ -934,6 +934,10 @@ <h3 class="panel-title">Personal Settings</h3>
<td>control-m</td>
<td>control-f3</td>
</tr>
<tr>
<td>option-l</td>
<td>control-command-q</td>
</tr>
<tr>
<td>command-d</td>
<td>command-delete_or_backspace</td>
Expand Down
28 changes: 24 additions & 4 deletions docs/json/personal_rcmdnk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1863,17 +1863,17 @@
"key_code": "q",
"modifiers": {
"mandatory": [
"command",
"shift"
"control",
"command"
]
}
},
"to": [
{
"key_code": "q",
"modifiers": [
"control",
"command"
"command",
"shift"
]
}
]
Expand Down Expand Up @@ -2737,6 +2737,26 @@
}
]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "q",
"modifiers": [
"control",
"command"
]
}
]
},
{
"type": "basic",
"from": {
Expand Down
6 changes: 5 additions & 1 deletion src/extra_descriptions/personal_rcmdnk.json.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@
<td>command-shift-f</td>
</tr>
<tr>
<td>command-shift-q</td>
<td>control-command-q</td>
<td>command-shift-q</td>
</tr>
</table>

Expand Down Expand Up @@ -504,6 +504,10 @@
<td>control-m</td>
<td>control-f3</td>
</tr>
<tr>
<td>option-l</td>
<td>control-command-q</td>
</tr>
<tr>
<td>command-d</td>
<td>command-delete_or_backspace</td>
Expand Down
10 changes: 8 additions & 2 deletions src/json/personal_rcmdnk.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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"]]]) %>
}
]
},
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit ac6edc1

Please sign in to comment.