Skip to content

Commit

Permalink
Mac OSX key bindings (#1661)
Browse files Browse the repository at this point in the history
* Mac OSX key bindings

* Updated documentation
  • Loading branch information
thecarlo authored Jun 15, 2024
1 parent b4d2113 commit 7b970a5
Show file tree
Hide file tree
Showing 6 changed files with 347 additions and 23 deletions.
20 changes: 8 additions & 12 deletions public/extra_descriptions/google_chrome.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

<table class="table">
<tr>
<td style="width: 350px;">Caps Lock</td>
<td style="width: 300px;">Caps Lock</td>
<td>
Maps to left control + left shift + right command (⌃⇧⌘).
The Caps lock is disabled.
</td>
</tr>
<tr>
<td style="width: 350px;">Double-tap right shift</td>
<td style="width: 300px;">Double-tap right shift</td>
<td>Caps lock toggle</td>
</tr>
</table>
Expand All @@ -28,7 +28,7 @@

<table class="table">
<tr>
<td style="width: 350px;">Caps lock hyper key + a</td>
<td style="width: 300px;">Caps lock hyper key + a</td>
<td>Search Tabs</td>
</tr>
</table>
Expand All @@ -39,7 +39,7 @@

<table class="table">
<tr>
<td style="width: 350px;">Caps lock hyper key + q</td>
<td style="width: 300px;">Caps lock hyper key + q</td>
<td>Switch between Google Chrome profiles</td>
</tr>
</table>
Expand All @@ -50,23 +50,19 @@

<table class="table">
<tr>
<td style="width: 350px;">Caps lock hyper key + 1</td>
<td style="width: 300px;">Caps lock hyper key + 1</td>
<td>Developer Tools</td>
</tr>
<tr>
<td style="width: 350px;">Caps lock hyper key + 2</td>
<td style="width: 300px;">Caps lock hyper key + 2</td>
<td>Developer Console</td>
</tr>
<tr>
<td style="width: 350px;">Caps lock hyper key + 3</td>
<td style="width: 300px;">Caps lock hyper key + 3</td>
<td>Developer Elements Panel</td>
</tr>
<tr>
<td style="width: 350px;">Caps lock hyper key + q</td>
<td style="width: 300px;">Caps lock hyper key + q</td>
<td>Toggle device toolbar (when you already have a developer panel open)</td>
</tr>
<tr>
<td style="width: 350px;">Right cmd</td>
<td>Toggle Zen mode</td>
</tr>
</table>
74 changes: 74 additions & 0 deletions public/extra_descriptions/mac_osx.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<link rel="stylesheet" href="../../vendor/css/bootstrap.min.css"/>

<p style="margin-top: 20px; font-weight: bold">
Hyper Keys
</p>

<p>
Includes 3 hyper keys for maximum flexibility.
</p>

<table class="table">
<tr>
<td style="width: 300px;">Right Option Key</td>
<td>
Maps to left shift + left option + left command (⌃⇧⌥⌘)
</td>
</tr>
<tr>
<td style="width: 300px;">Caps Lock</td>
<td>
Maps to left control + left shift + right command (⌃⇧⌘)
The Caps lock is disabled.
</td>
</tr>
<tr>
<td style="width: 300px;">Tab (held down)</td>
<td>
Maps to left control + left command (⌃⌘)
</td>
</tr>
</table>

<p style="margin-top: 20px; font-weight: bold">
Toggle Caps Lock
</p>

<p>
Since the Caps Lock key is set up as a hyper key, double-tap the right shift key to toggle Caps lock.
</p>

<tr>
<td style="width: 300px;">Double-tap right shift</td>
<td>Caps lock toggle</td>
</tr>

<p style="margin-top: 20px; font-weight: bold">
Closing Applications
</p>

<p>
Since it's easy to accidentally hit CMD + Q and close an application, I've changed this so that you need to hit CMD + q, q to close an application.
</p>

<table class="table">
<tr>
<td style="width: 300px;">cmd + double-tap q</td>
<td>close application</td>
</tr>
</table>

<p style="margin-top: 20px; font-weight: bold">
Disable minimising applications
</p>

<p>
Since it's easy to accidentally minimise an application, I've disabled the cmd + h default keybinding in Mac OSX.
</p>

<table class="table">
<tr>
<td style="width: 300px;">cmd + h</td>
<td>Keybinding is disabled</td>
</tr>
</table>
6 changes: 3 additions & 3 deletions public/extra_descriptions/premiere_pro.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<table class="table">
<tr>
<td style="width: 350px;">Mouse button 3</td>
<td style="width: 300px;">Mouse button 3</td>
<td>
Hold in button 3 to scroll the timeline horizontally. This automatically selects the hand tool. When you release button 3, it goes back to the selection tool.
</td>
Expand All @@ -19,11 +19,11 @@

<table class="table">
<tr>
<td style="width: 350px;">Button 1 (left-click)</td>
<td style="width: 300px;">Button 1 (left-click)</td>
<td>Makes a cut on the timeline</td>
</tr>
<tr>
<td style="width: 350px;">Button 2 (right-click)</td>
<td style="width: 300px;">Button 2 (right-click)</td>
<td>Ripple edit to the previous cut on the timeline</td>
</tr>
</table>
16 changes: 8 additions & 8 deletions public/extra_descriptions/vs_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

<table class="table">
<tr>
<td style="width: 350px;">Caps Lock</td>
<td style="width: 300px;">Caps Lock</td>
<td>
Maps to left control + left shift + right command (⌃⇧⌘).
The Caps lock is disabled.
</td>
</tr>
<tr>
<td style="width: 350px;">Double-tap right shift</td>
<td style="width: 300px;">Double-tap right shift</td>
<td>Caps lock toggle</td>
</tr>
</table>
Expand All @@ -28,11 +28,11 @@

<table class="table">
<tr>
<td style="width: 350px;">Caps Lock Hyper Key + a</td>
<td style="width: 300px;">Caps Lock Hyper Key + a</td>
<td>Quick open (search for a file)</td>
</tr>
<tr>
<td style="width: 350px;">Caps Lock Hyper Key + s</td>
<td style="width: 300px;">Caps Lock Hyper Key + s</td>
<td>Navigate symbols (search symbols)</td>
</tr>
</table>
Expand All @@ -43,19 +43,19 @@

<table class="table">
<tr>
<td style="width: 350px;">Double-tap left ctrl</td>
<td style="width: 300px;">Double-tap left ctrl</td>
<td>Toggle sidebar</td>
</tr>
<tr>
<td style="width: 350px;">Double-tap left option</td>
<td style="width: 300px;">Double-tap left option</td>
<td>Toggle terminal</td>
</tr>
<tr>
<td style="width: 350px;">Double-tap left cmd</td>
<td style="width: 300px;">Double-tap left cmd</td>
<td>Toggle Zen mode</td>
</tr>
<tr>
<td style="width: 350px;">Right cmd</td>
<td style="width: 300px;">Right cmd</td>
<td>Toggle Zen mode</td>
</tr>
</table>
Expand Down
4 changes: 4 additions & 0 deletions public/groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,10 @@
"name": "OS Functionality",
"id": "os-functionality",
"files": [
{
"path": "json/mac_osx.json",
"extra_description_path": "extra_descriptions/mac_osx.html"
},
{
"path": "json/mac_osx_double_tap_q_close_application.json"
},
Expand Down
Loading

0 comments on commit 7b970a5

Please sign in to comment.