My initial setup for mac
Finally, I decided to purchase a Mac, specifically the Mac Mini M2 Pro. Additionally, I will be switching to a MacBook Pro for my job. Now, it’s time to set up the operating system to my liking.
System settings
Mouse > Natural scrolling
to disabledKeyboard
Adjust key repeat rate to fastest and delay until repeat to short.Keyboard > Keyboard shortcuts > Input sources
disable both shortcuts, I don’t need them and one of them collides with VSCode.Keyboard > Keyboard shortcuts > Services > Text
disableConvert text to Simplified chinese and traditional
, I want those shortcuts for something more useful for me.- Disable ApplePressAndHoldEnabled, a setting that doesn’t allow you to hold a key to repeat that character multiple times. Go to the terminal and execute this:
defaults write -g ApplePressAndHoldEnabled -bool false
. Same command withtrue
to enable again.
Finder
Finder is the file explorer for Mac. I will add some configuration for a better productivity.
- Change the view to list and add the column Date modified.
- Go to
View
and enableShow path bar
andShow status bar
. - Drag and drop my most used folders to the left side for quick access, such as
Github
. - In
View
, go toCustomize toolbar
and get rid of anything I don’t use, like tags, groups, etc. Finder > Settings > Advanced
and select Current folder for theWhen performing a search
field.
Dock settings
Right click on the dock and select Dock settings:
- Enable minimize application into icon.
- Disable Show suggested and recent apps in dock.
Install apps
I usually install these apps:
- Shottr: Free app for taking screenshots and make quick annotations.
- Warp: Improved terminal, with AI.
- Oh My Zsh: Framework for customizing zsh terminal.
- Macpass: Password manager KeePass client for mac.
- Colorslurp: Color picker. I love holding Ctrl + click while moving for hi precision.
- VSCode: My favorite text editor for development.
- Firefox, Chrome, Responsively: Browsers.
- Logi Options+: Software for my keyboard and mouse.
- ChatGPT: The AI tool.
- HyperKey: Convert the Caps Lock or any other unused key to the hyper key, a combination of these 4 keys:
ββ₯ββ§
. More information below. - Raycast: Spotlight with steroids. More information below.
- DevToys: Swiss Army knife DevToys for macOS.
- GIMP: Open source image manipulation program.
- Rectangle PRO: Windows management and my favourite feature, App layouts.
Hyperkey
HyperKey is a very basic application that can be a game changer for shortcuts. You can map the very unused caps lock key (or other), to trigger the combination ββ₯ββ§
. This combination is rarely used for any shortcut.
Furthermore, the caps lock key will still work as usual if you press it quickly. This is the configuration I use for Hyperkey:
If you want to achieve the same customization or go beyond, you can use Karabiner. Karabiner is a very powerful application that allows you to customize your keyboard in macOS. There are a lot of crazy combinations and things you can achieve, but for simplicity I am using Hyperkey for now.
Raycast
Raycast is an application that is an enhanced version of the native Spotlight. In my opinion Raycast implements some of the missing functionalities that Mac should bring out of the box, Clipboard manager, Windows management and lot of stuff that you can add in form of plugins.
First thing I do is mapping Raycast to the default shortcut for Spotlight, Command + Space
. To do that, go to System Preferences > Keyboard > Shortcuts > Spotlight
and disable the keyboard shortcut. Then go to Raycast settings and record the hotkey using Command + Space
and you are good to go.
Some extensions I installed:
- Colorslurp.
- Google translate.
- Ruler.
- GIF Search.
- Lorem Ipsum.
- Change case.
- ray.so
- brew
Shortcuts
Useful predefined shortcuts and some defined by myself to improve productivity.
Apps management
β + M
: Minimizeβ + β + F
: Toggle full screenβ + W
: Close appβ + Q
: Kill appβ + H
: Hide appβ₯ + β + H
: Hide all apps except focusedβ₯ + β + W
: Close all windows for an appβ₯ + β + ESC
: Force quit apps.F11
: Show desktop.
Screenshots
β + β + 1
: Capture screen (Shottr)β + β + 2
: Capture area (Shottr)β + β + 3
: Capture screen (Native)β + β + 4
: Capture area (Native)β + β + 5
: Capture video (Native)
Windows management
Custom shortcuts defined in Raycast:
β + β₯ + Left
: Move to left (Cycle)β + β₯ + Right
: Move to right (Cycle)β + β₯ + Up
: Move to up (Cycle) Note: Conflict with VSCode shortcutβ + β₯ + Down
: Move to down (Cycle) Note: Conflict with VSCode shortcutβ + β₯ + C
: Center (Cycle)β + β + β₯ + C
: Centerβ + β₯ + F
: Maximizeβ + β₯ + Del
: Restoreβ + β₯ + +
: Largerβ + β₯ + -
: Smaller
Clipboard history
β + β₯ + V
: Clipboard history in Raycast
Hyper key shortcuts
β + β₯ + β + β§ + F
: Firefoxβ + β₯ + β + β§ + C
: Chromeβ + β₯ + β + β§ + V
: VSCodeβ + β₯ + β + β§ + W
: Warpβ + β₯ + β + β§ + S
: Slackβ + β₯ + β + β§ + Enter
: Confetti (Raycast extension)