Mac
Shortcuts
Screenshots
Shift + Ctrl + Cmd + 3 - Copy window -> cmd+v (paste)
Cmd + Shift + 3 - whole window
Cmd + Shift + 4 - selection - selection crosshairs
Cmd + Shift + 4 - selection -> space (selection window)
Cmd + Shift + 5 - Record whole screen
Force kill - cmd + opt + esc
Exit Full Screen / Full screen - ^ + ⌘ + F (Ctrl + Cmd + F)
^ + ⌘ + q (Lock screen) (Ctrl + Cmd + Q)
Quicktime player Shortcuts - Hold Option + fast forward button on quicktime player
Preview pdf shortcuts - Command + 1 - continuous scroll
# open folder in vscode
code .
# open finder at certain folder location
open .
# open iterm2 at a certain folder
open -a iTerm .
Create a new text file
If you have the Finder window open, use Spotlight to open TextEdit. When you're ready to save the file, option+drag the text file icon from the title bar of TextEdit into the Finder window where you want to save it.
Show/hide hidden folders = Command + shift + .
Ctrl + Cmd + space - Character Palette
You can select the file and pressOption+Command+Cto copy the pathname to the clipboard.
Right Click on folder > option (gives more options)
Terminal Commands
Open two instance of same application - open -n MQTT.fx.app
Screenshots
⌘ + Shift + 4, #selection
⌘ + Shift + 4, + Space #window selection
⌘ + Shift + 3, #whole screen
⌘ + Option + D - show/hide dock
⌘ + Option + ESC - Force Quit Application dialogue
Option + Characters - Special Characters like (µåß∂√ƒç≈Ω)
Setting up Windows
- Install wsl (powershell -
wsl --install)ln -s /mnt/c/Users/deepa/Repositories ~/Repositories
- Install ubuntu
- https://code.visualstudio.com/docs/remote/wsl
- In vscode setup WSL
- Install brew in WSL
ln -s /mnt/c/Users/deepa/Downloads ~/downloadscd /mnt/c- windows file location- setup lock default screen - How to Enable or Disable Lock Screen in Windows 11 / 10 - YouTube
- enable gpedit.msc in windows home - Enable Group Policy Editor (gpedit.msc) on Windows 10/11 Home Edition | Windows OS Hub
- enable clipboard - windows + V
- capture text from images - How to extract text from images on Windows 11 - ARTICLE - Microsoft Q&A
- group tabs settings - show tabs from apps when snapping or pressing alt+tab
- Title bar window shake
- folder options
- Hide extensions for known file types
- setup default downloads directory - How to Make File Explorer Open to the Downloads Folder by Default - YouTube
- Date & Time settings
- show seconds in system tray
- How do I show the day of the week in the taskbar? - Microsoft Q&A
- Dock and Menu Bar - Auto Hide
- Desktop & Dock - Automatically hide and show the Dock
- Menu Bar - Automatically hide and show the menu bar
- Install apps
- chrome
- dark mode - I use both of dark reader extension and Chrome://flags. It can be interchangeable if the website has the problem with dark mode
- Change every single website to 'Dark Mode' in Google Chrome. : r/chrome
- file download manager
- google drive
- obsidian
- vscode
- Zoom
- jump desktop
- tailscale
- docker
- chrome
Windows Shortcuts
- win + A
- win + N
- win + v - clipboard history
Setting up MAC
-
Add iterm2 - download from web, details below
-
Install brew - command on official website (/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)")
- Homebrew on Linux — Homebrew Documentation
- sudo apt update && sudo apt upgrade
- sudo apt-get install build-essential procps curl file git
- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- The installer will usually provide "Next Steps" to add Homebrew to your PATH.
- echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile
- eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
- Homebrew on Linux — Homebrew Documentation
-
Add zsh - details below
-
Add docker
-
Add Anaconda -
Irvue -
Onenote -
Obsidian
-
VSCode
Open the Command Palette(⇧⌘P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.
Settings
- Auto Save - afterDelay
- enablePreview - off
- terminal.integrated.scrollback - 100000
- Window: Open Folders In New Window - On
-
Google Drive for mac
-
bittorrent web -
Popcorn- sudo xattr -cr /Applications/Popcorn-Time.app
- https://fusme.link/
- https://jfper.link/
- https://uxert.link/
- https://yrkde.link/
-
VLC or GitHub - iina/iina: The modern video player for macOS. ⭐ 45k
-
Anki Flash Cards- -
Anaconda navigator-https://conda.anaconda.org/conda-forge/ -
Bombsquad
-
OpenMTP -
Android file transfer (doesn't work)- MacDroid - mac app for transfering mobile to macbook for free (not wise verse)
- Use USB Debugging
brew install grishka/grishka/neardrop- ShareDrop
- Localsend
- MacDroid - mac app for transfering mobile to macbook for free (not wise verse)
-
Office
-
Screensaver - https://zzz.zoomquilt2.com/
Spotlight Alternative
- Cmd + Shift + G in Finder
- Alfred - Alfred - Productivity App for macOS
- Raycast - Supercharged productivity
Comparison
- Alfred vs Raycast vs Monarch | Den's Hub
- Alfred vs. Raycast: my constant debate - Josh Collinsworth blog
- Alfred vs. Raycast vs. Monarch vs. LaunchBar (vs. Quicksilver) : r/macapps
Google chrome
Shortcuts
| Action | Shortcuts |
|---|---|
| switch profiles | cmd + shift + m - enter |
| to cycle between tabs | Cmd + Shift + A + Enter |
| Jump to the next open tab | ⌘ + Option + Right arrow or ctrl + tab |
| Jump to the previous open tab | ⌘ + Option + Left arrow or ctrl + shift + tab |
| Open the previous page in your browsing history for the current tab | ⌘ + [ or ⌘ + Left arrow |
| Open the next page in your browsing history for the current tab | ⌘ + ] or ⌘ + Right arrow |
| Open the History page in a new tab | ⌘ + y |
| Open the Downloads page in a new tab | ⌘ + Shift + j |
| Open the Find Bar to search the current page | ⌘ + f |
| Jump to the next match to your Find Bar search | ⌘ + g |
| Jump to the previous match to your Find Bar search | ⌘ + Shift + g |
| When Find Bar is open, search for selected text | ⌘ + e |
| Open the JavaScript Console | ⌘ + Option + j |
| Search the web | ⌘ + Option + f |
| move tabs up/down | ctrl + shift + fn + up/down |
https://www.google.com/inputtools
Chrome keyboard shortcuts - Computer - Google Chrome Help
Logging in Outlook Account on Chrome Profile - Google Chrome Community
Chrome Extensions / Chrome Web Store
- Remove YouTube Shorts - Chrome Web Store
- darkreader
- Session Buddy (not required, use group tabs in chrome)
- adblock plus
- Google meet attendance list
- JSON formatter
- Keepa - Amazon Price Tracker
- LINER: ChatGPT Google Assistant
- Obsidian Web Clipper - Chrome Web Store
- Moesif Origin & CORS Changer
- SpeedUp: Netflix, Prime videos
- YouTube NonStop
- Duplicate Tab shortcut
- Duplicate the current tab - ctrl + d
- New tab to the right - cmd + t
- ChatGPT Writer: Use AI on Any Site (GPT-4o, Claude, Gemini, and More)
Screen recorders
- Nimbus Screenshot & Screen Video
- Screen Recorder
- Best alternative to loom - GitHub - alyssaxuu/screenity: The free and privacy-friendly screen recorder with no limits 🎥 ⭐ 18k
- Loom (cannot download with free version)
- CloudApp
- Cantamsia
Others
Google Chrome apps
- Keep Desktop app - Go to keep.google.com > go to chrome more tools > create shortcut > check open as new window
- Youtube music
- Meet - Use Companion mode for hybrid learning & collaboration - Google Meet Help
brew
The missing package manager for macOS
brew list
brew install
brew uninstall
brew update
brew upgrade
brew outdated
brew doctor
brew cask upgrade minikube
brew info
brew info git # List versions, caveats, etc
brew info bash-completion
brew cleanup git # Remove old versions
brew list helm --versions
brew services list
List all running services for the current user (or root).
brew services run (formula|--all)
Run the service formula without registering to launch at login (or boot).
brew services start (formula|--all)
Start the service formula immediately and register it to launch at login (or boot).
brew services stop (formula|--all)
Stop the service formula immediately and unregister it from launching at login (or boot).
brew services restart (formula|--all)
Stop (if necessary) and start the service formula immediately and register it to launch at login (or boot).
brew services cleanup
Remove all unused services.
brew install
tmux- tldr
- watch
- kubectl
- helm
- kubectx
- tree (directory tree structure)
- mysql-client / mysql@5.7
- bat
neovim- https://github.com/neovim/neovim- ~~fzf (A command-line fuzzy finder) - ~~https://github.com/junegunn/fzf
- GitHub - ellie/atuin: 🐢 Magical shell history ⭐ 11
- ~~the_silver_searcher (command ag "services") - ~~https://github.com/ggreer/the_silver_searcher
- awscli
- python3
- moreutils
- thefuck - https://github.com/nvbn/thefuck
- tldr - https://tldr.sh https://github.com/tldr-pages/tldr
- brew install pre-commit
- rename
- maccy
Clipboard Manager
- brew install maccy
- GitHub - p0deje/Maccy: Lightweight clipboard manager for macOS ⭐ 20k
- Settings
- Launch at login
- Check for updates automatically
- Paste automatically
- SHIFT (⇧) + COMMAND (⌘) + C to popup Maccy or click on its icon in the menu bar.
- To disable Maccy and ignore new copies, click on the menu icon with OPTION (⌥) pressed.
- To ignore only the next copy, click on the menu icon with OPTION (⌥) + SHIFT (⇧) pressed.
- Settings
- GitHub - PasteBar/PasteBarApp: PasteBar - Limitless, Free Clipboard Manager for Mac and Windows ⭐ 2.0k
- GitHub - hluk/CopyQ: Clipboard manager with advanced features ⭐ 12k
- GitHub - Slackadays/Clipboard: 😎🏖️🐬 Your new, 𝙧𝙞𝙙𝙤𝙣𝙠𝙪𝙡𝙞𝙘𝙞𝙤𝙪𝙨𝙡𝙮 smart clipboard manager ⭐ 5.8k
- GitHub - TermiT/Flycut: Clean and simple clipboard manager for developers ⭐ 2.7k
- The 5 best clipboard managers in 2025 | Zapier
hstr (reverse search)
brew install hstr
hstr --show-configuration >> ~/.zshrc
vim ~/.zshrc
export HSTR_CONFIG=hicolor,raw-history-view
## ctrl+r
https://github.com/dvorka/hstr
To edit a command selected in hstr before running it, use the Tab or Right Arrow keys. These keys will place the selected command onto your shell's command prompt, allowing you to review and modify it before you manually press Enter to execute it.
https://fig.io
brew install --cask fig
# https://github.com/withfig/autocomplete
fig doctor check if Fig is properly configured
fig settings update preferences (keybindings, UI, and more)
fig tweet share your terminal set up with the world!
fig update check for updates
fig --help a summary of Fig commands with examples