DEV Community

loading...

Kondo your Mac

David Leuliette
Hi , Im a React Native freelance engineer working remotely. I am on a mission is to make peoples lives easier through mentoring, minimalist design, and automation.
Originally published at blog.usejournal.com on 4 min read

How to setup a distraction free macOS to focus on shipping code

Last week, I was chilling on Netflix and I found one famous TV Show with Marie Kondo. Shes a Japanese organising consultant and author. Organising Consultant Wow! We are really living in exciting times

And then I found this great article by Rubens Cantuni about organizing your sketch files.

I got hoocked.

Before opening my own agency of cleaning consultant, I decided to share with you my best hacks to tidy your Mac and transform your developer life.

Your real life begins after putting your house in order.

Marie Kondo

Spark joy in your terminal

As a developer, I spend around 1h / day in the terminal. Thats literally my remote control for everything. My awesome and well-organized naming framework for my coding projects is this one:

~/workspace/\<CLIENT\>/\<PROJECT\_NAME\>
Enter fullscreen mode Exit fullscreen mode

I am using iTerm2 to split, and navigate across projects and files. And if you are using the script zjump around, you are literally 125% more effective than people using the keyboard + mouse combo.

refined theme for iTerm2

I have plenty of shortcuts thanks to oh-my-zsh with this clean theme called refined to be super efficient. If I need to keep only one productivity hack , I would definitely choose this: Launch your editor form the terminal.

// Sublime Text
st .

// Atom
atom .

// VSCode
code .
Enter fullscreen mode Exit fullscreen mode

Everything has its place in your Finder

Lets face it, the proportion of mess on your machine is exponential. If you dont set some rules at the beginning, after 1 month your new shiny computer is full of crap.

Your computer is infected

Here is my Shinto Workflow for cleaning and organizing files properly:

Add Favourites

Open your terminal and write open . to open the finder. Remove all the distractions links and add the favourites ones like this.

Create a screenshot folder

By default, all your screenshot are saved on your desktop. I changed that for another folder called Screenshots.

# Save screenshots to the Screenshot (or elsewhere)
defaults write com.apple.screencapture location ${HOME}/Screenshots
Enter fullscreen mode Exit fullscreen mode

Store vertically

You cant do 2 things at the same time. So why are you keeping the dock with all the applications available on your Mac? You can launch them with your keyboard thanks to spotlight and the shortcut + space.

Marie Rondo says storing vertically will save space and allow your belongings to become more eye-catching. Lets hide our dock when we dont need it with a left vertical position.

Custom Window Organizer

Windows users are going to love this one: you can tilling and organise your applications since a long time with windows + .

On macOS we have the fullscreen mode. But its not really powerfull, and its complicated to assign keyboard shortcuts to be effective.

Split your screen

I am using Divvy since ages to fix this issue, I can split my screens and I have differents shortcuts for my needs: full screen, half-left, top-right... You can pick-up any windows manager to Hikidashi your working days.

Clean your menu bar icons

Everything you own needs his own designated space. Dozer is a little application to hide icons on your menu bar. With this hack you can finally get rid of the spotlight icon! The easiest way to install it is with brew.

$ brew cask install dozer
Enter fullscreen mode Exit fullscreen mode

You can check on GitHub the installation notes.

Before:

After:

Tidy by category

Yes! I am looking at you modern full stack developer! I know you have the hype and can solve the cancert problem with JavaScript, but in my opinion, you have too many tabs opened.

That means a lack of focus and we are going to be late for the mars missions because you are not focus.

soooooooooooooooooooooooooooooooo many tabs opened

You can pin tabs if you want to keep something, and try to organise your browsing experience by category :

  • Google Chrome: Work emails and backlog in ZenHub
  • Safari: React Native releases on app Store and play store
  • Google Chrome Canary: Personal emails and youtube
  • Firefox developer Edition: Main browser for everything else

At least here I can quit / restore tabs depending on the context

After theses small hacks you gonna have the same kind of zen distraction-free laptop, ready to focus and ship code!

Read this story later in Journal.

Discussion (0)