Someone asked me, so here goes.
All of these are for Mac OS.
## Web browsing
**CMT + T:** New tab
**CMD + L:** Go to address bar
**CMD + 1 | 2 | n :** Switch to tab in position 1, 2, n.
**CMD + Left arrow | Right arrow:** Next / previous tab.
**CMD + W:** Close tab
**CMD + Shift + W:** Close current browser window (but not others)
## Searching text
**CMD + F:** Search text
**CMD+G / CMD+Shift+G:** Go to next/previous search result.
## Switching between apps
**CMD + TAB:** Next / previous app
**CMD + \`:** Next / previous window of current app
## Switch to specific apps:
**CAPS LOCK + S:** Switch to Slack
**CAPS LOCK + V:** Switch to Visual Studio Code
**CAPS LOCK + C:** Switch to ChatGPT & Claude
**CAPS LOCK + M:** Switch to Gmail (via [Rambox](https://rambox.app/), which enables all accounts and open links in default browser)
**CAPS LOCK + T:** Switch to Terminal
(Many others...)
*Requires setup. See [[Use the CAPS LOCK key for custom keyboard shortcuts]].*
## Window management
**CMD + Control + Period:** Resize window to full screen
**CMD + Control + Left arrow | Right arrow:** Resize window to 50% of screen width, left or right side
**CMD + Control + /:** Move window to next screen
*The above requires [BetterSnapTool](https://folivora.ai/bettersnaptool), and you have to configure the shortcuts yourself.*
## Google Drive
**nd:** New Google Doc
**ns:** New Google Sheet
**d, space:** Search Google Drive
*Requires setup. See [[How to create a Google Doc with three keystrokes]].*
## Google Docs
**CMD + Option + M:** A
**CMD + Option + 1 | 2 | n:** Apply heading format 1 | 2 | n
**CMD + Option + 0:** Apply paragraph format
**CMD + Shift + 7:** Numbered list
**CMD + Shift + 8:** Bullet list
**CMD + Shift + Left arrow:** Select current line
**Option + Left arrow | Right arrow:** Next / previous word
**Option + Shift + Left | Right arrow:** Select next / previous word
**CMD + K:** Add link
**CMD + Shift + X:** Strikethrough
## Text expander
I use [Raycast Snippets](https://www.raycast.com/extensions/snippets) as my text expander [^1]. [Espanso](https://espanso.org/) is another fine choice.
**,da:** Today's date in YYYY-MM-DD (c.f. [[The best date format is usually YYYY-MM-DD]]).
**,kr**: Kind regards,
**,atb**: All the best,
**,cal:** My calendar booking link
**,ph:** My name
**,cl:** console.log()
**,ukn:** My UK mobile number
**,frn:** My French mobile number
**,rv:** Reykjavík (I have lots of these for common words that are hard to type due to e.g. accents)
**,t3:** TYPE III AUDIO
**,dp:** My day plan template
**,wp:** My week plan template
## Obsidian
**CMD + P:** Switch notes
**CMD + Shift + P:** Publish note(s)
I've also [configured](https://help.obsidian.md/User+interface/Hotkeys) Obsidian so that the shortcuts listed in "Web Browsing" do the same things in Obsidian.
## Other
**CMD + Spacebar:** Open Raycast (previously: Mac Spotlight)
**Option + Spacebar:** Open [Superwhisper](https://superwhisper.com/) for dictation (requires setup)
**Shift + Mouse scroll:** Scroll horizontally
**CAPS LOCK + I:** Enable iPad as additional display (requires [setup](https://github.com/Ocasio-J/SidecarLauncher/))
[^1]: I strongly recommend using [Raycast](https://www.raycast.com/) for this and other reasons (it's a better version of Mac Spotlight).
---
Aim to learn a couple new shortcuts per week. Put a post it note on your screen or use a spaced repetition app (e.g. Mochi or Anki).
Some of your favourite shortcuts are missing? Please tell me!
---
## Appendix 1. Basics
*You probably know these. If not, you're welcome.*
**CMD + Control + Q:** Lock screen
**CMD + C:** Copy
**CMD + X:** Cut
**CMD + V:** Paste
**CMD + Shift + V:** Paste without formatting