🔥 Matt's Hot Tips


⭐️ VSCode in GitHub

You can open in-browser instance of VSCode from GitHub by simply pressing . on your keyboard

vscode on github


⭐️ Script output as terminal prompt

ZSH allows you to use output of any command as the prompt itself. I use a custom NODE.JS script to show current time, current path and some git info.

custom zsh prompt

To set this up add this to your ~/.zshrc file

setopt PROMPT_SUBST
PROMPT='$(node path_to_your_script $?)'

🔗 Here is the script that I use


⭐️ iTerm2 Natural Text Editing keymap

You can configure iTerm2 to behave like a text editor and use many keyboard shortcuts to navigate.

ALT + ⬅️ | ALT + ➡️ | CMD + ⬅️ | CMD + ➡️

To enable this, set the following option

Settings > Profiles > Keys > Key Mappings > Presets > Natural Text Editing

⭐️ Email Amnesty

too many emails

This is an opinionated one but I strongly believe that it is very important to keep your email inbox tidy. If the ratio of noise to signal is too high, the chances of prompt and proper response falls off the cliff.

Trying to work through the entire backlog could be a monumental task and is not worth the effort. The truth is that you will not respond to emails in your inbox if you have not already, so you may as well empty it out.

DECLARE EMAIL BANKRUPTCY

Archive your entire inbox and start over. The important part is that from this point on you have to take control of your inbox.