Skip to content

Commit

Permalink
Slack keybindings update (#1678)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecarlo committed Jun 18, 2024
1 parent 27ce2b7 commit 4ea70b8
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
20 changes: 10 additions & 10 deletions public/extra_descriptions/slack.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@

<table class="table">
<tr>
<td style="width: 350px;">Caps Lock Hyper key + 1</td>
<td style="width: 350px;">Caps Lock Hyper key + a</td>
<td>Quick search</td>
</tr>
<tr>
<td style="width: 350px;">Caps Lock Hyper key + 2</td>
<td style="width: 350px;">Caps Lock Hyper key + 1</td>
<td>Navigate to activity</td>
</tr>
<tr>
<td style="width: 350px;">Caps Lock Hyper key + 3</td>
<td style="width: 350px;">Caps Lock Hyper key + 2</td>
<td>Navigate to DMs</td>
</tr>
<tr>
<td style="width: 350px;">Caps Lock Hyper key + 4</td>
<td style="width: 350px;">Caps Lock Hyper key + 3</td>
<td>Navigate to all unread messages</td>
</tr>
</table>
Expand All @@ -54,22 +54,22 @@
<td style="width: 350px;">Caps Lock Hyper key + q</td>
<td>Format selection as quote</td>
</tr>
<tr>
<td style="width: 350px;">Caps Lock Hyper key + a</td>
<td>Code format</td>
</tr>
<tr>
<td style="width: 350px;">Caps Lock Hyper key + s</td>
<td>Code block</td>
<td>Code format</td>
</tr>
<tr>
<td style="width: 350px;">Caps Lock Hyper key + d</td>
<td>Add hyperlink</td>
<td>Code block</td>
</tr>
<tr>
<td style="width: 350px;">Caps Lock Hyper key + f</td>
<td>Upload file</td>
</tr>
<tr>
<td style="width: 350px;">Caps Lock Hyper key + g</td>
<td>Add hyperlink</td>
</tr>
</table>

<p style="margin-top: 20px; font-weight: bold">
Expand Down
68 changes: 34 additions & 34 deletions public/json/slack.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
]
},
{
"description": "Slack: Caps Lock Hyper key + 1 → Launch quick search",
"description": "Slack: Caps Lock Hyper key + 1 → Activity",
"manipulators": [
{
"conditions": [
Expand All @@ -115,20 +115,20 @@
"key_code": "1",
"modifiers": {
"mandatory": ["left_control", "left_shift", "right_command"],
"optional": ["any"]
"optional": []
}
},
"to": [
{
"key_code": "k",
"modifiers": ["left_command"]
"key_code": "m",
"modifiers": ["left_shift", "left_command"]
}
]
}
]
},
{
"description": "Slack: Caps Lock Hyper key + 2 → Activity",
"description": "Slack: Caps Lock Hyper key + 2 → DMs",
"manipulators": [
{
"conditions": [
Expand All @@ -147,15 +147,15 @@
},
"to": [
{
"key_code": "m",
"key_code": "k",
"modifiers": ["left_shift", "left_command"]
}
]
}
]
},
{
"description": "Slack: Caps Lock Hyper key + 3 → DMs",
"description": "Slack: Caps Lock Hyper key + 3 → All Unread Messages",
"manipulators": [
{
"conditions": [
Expand All @@ -174,15 +174,15 @@
},
"to": [
{
"key_code": "k",
"key_code": "a",
"modifiers": ["left_shift", "left_command"]
}
]
}
]
},
{
"description": "Slack: Caps Lock Hyper key + 4All Unread Messages",
"description": "Slack: Caps Lock Hyper key + qformat selection as quote",
"manipulators": [
{
"conditions": [
Expand All @@ -193,23 +193,23 @@
],
"type": "basic",
"from": {
"key_code": "4",
"key_code": "q",
"modifiers": {
"mandatory": ["left_control", "left_shift", "right_command"],
"optional": []
}
},
"to": [
{
"key_code": "a",
"modifiers": ["left_shift", "left_command"]
"key_code": "9",
"modifiers": ["left_shift", "command"]
}
]
}
]
},
{
"description": "Slack: Caps Lock Hyper key + qformat selection as quote",
"description": "Slack: Caps Lock Hyper key + wtoggle sidebar",
"manipulators": [
{
"conditions": [
Expand All @@ -220,23 +220,23 @@
],
"type": "basic",
"from": {
"key_code": "q",
"key_code": "w",
"modifiers": {
"mandatory": ["left_control", "left_shift", "right_command"],
"optional": []
}
},
"to": [
{
"key_code": "9",
"modifiers": ["left_shift", "command"]
"key_code": "d",
"modifiers": ["left_shift", "left_command"]
}
]
}
]
},
{
"description": "Slack: Caps Lock Hyper key + wtoggle sidebar",
"description": "Slack: Caps Lock Hyper key + eset status",
"manipulators": [
{
"conditions": [
Expand All @@ -247,23 +247,23 @@
],
"type": "basic",
"from": {
"key_code": "w",
"key_code": "e",
"modifiers": {
"mandatory": ["left_control", "left_shift", "right_command"],
"optional": []
}
},
"to": [
{
"key_code": "d",
"key_code": "y",
"modifiers": ["left_shift", "left_command"]
}
]
}
]
},
{
"description": "Slack: Caps Lock Hyper key + eset status",
"description": "Slack: Caps Lock Hyper key + aLaunch quick search",
"manipulators": [
{
"conditions": [
Expand All @@ -274,23 +274,23 @@
],
"type": "basic",
"from": {
"key_code": "e",
"key_code": "a",
"modifiers": {
"mandatory": ["left_control", "left_shift", "right_command"],
"optional": []
"optional": ["any"]
}
},
"to": [
{
"key_code": "y",
"modifiers": ["left_shift", "left_command"]
"key_code": "k",
"modifiers": ["left_command"]
}
]
}
]
},
{
"description": "Slack: Caps Lock Hyper key + a → code format",
"description": "Slack: Caps Lock Hyper key + s → code format",
"manipulators": [
{
"conditions": [
Expand All @@ -301,7 +301,7 @@
],
"type": "basic",
"from": {
"key_code": "a",
"key_code": "s",
"modifiers": {
"mandatory": ["left_control", "left_shift", "right_command"],
"optional": []
Expand All @@ -317,7 +317,7 @@
]
},
{
"description": "Slack: Caps Lock Hyper key + s → code block",
"description": "Slack: Caps Lock Hyper key + d → code block",
"manipulators": [
{
"conditions": [
Expand All @@ -328,7 +328,7 @@
],
"type": "basic",
"from": {
"key_code": "s",
"key_code": "d",
"modifiers": {
"mandatory": ["left_control", "left_shift", "right_command"],
"optional": []
Expand All @@ -344,7 +344,7 @@
]
},
{
"description": "Slack: Caps Lock Hyper key + dhyperlink",
"description": "Slack: Caps Lock Hyper key + fUpload file",
"manipulators": [
{
"conditions": [
Expand All @@ -355,7 +355,7 @@
],
"type": "basic",
"from": {
"key_code": "d",
"key_code": "f",
"modifiers": {
"mandatory": ["left_control", "left_shift", "right_command"],
"optional": []
Expand All @@ -364,14 +364,14 @@
"to": [
{
"key_code": "u",
"modifiers": ["left_shift", "command"]
"modifiers": ["command"]
}
]
}
]
},
{
"description": "Slack: Caps Lock Hyper key + fUpload file",
"description": "Slack: Caps Lock Hyper key + ghyperlink",
"manipulators": [
{
"conditions": [
Expand All @@ -382,7 +382,7 @@
],
"type": "basic",
"from": {
"key_code": "f",
"key_code": "g",
"modifiers": {
"mandatory": ["left_control", "left_shift", "right_command"],
"optional": []
Expand All @@ -391,7 +391,7 @@
"to": [
{
"key_code": "u",
"modifiers": ["command"]
"modifiers": ["left_shift", "command"]
}
]
}
Expand Down

0 comments on commit 4ea70b8

Please sign in to comment.