This is a tl;dr of legitimate tricks that I wish I knew years ago.
For context, I work with VS Code on Mac.
CMD+``` switches between windows of the same app. This is handy for switching between a Chrome window and Chrome DevTools rapidly.
CMD + Shift + Pand I use it several times a day.
CMD+OPT+2and Three Columns to
CMD+OPT+3, and so on.
.envfiles) visible with
CMD+OPT+Lgoes to the downloads folder immediately.
CMD+SHIFT+5(anywhere, it’s a system shortcut), and click Options -> Other Location. Create a new folder and point to it.
CONFLICTfiles in the terminal output. iTerm has a “Triggers” feature that will let you create a regular expression that, when matched against some text, can fire off an event. Navigate to Profiles > Advanced > Triggers >
+. For the regular expression, simply write,
CONFLICT, and select the
Highlight Texttrigger. Boom - whenever your next merge conflict hits, you’ll see blips of red (or whatever color you selected) to mark each offending file. Happy resolving 👍
.bash_aliases, in addition to being convenient and making you faster, they reduce human error!
CMD+SHIFT+Dto split panes. Too many of y’all don’t use this, I don’t know why.
# holy grail of git cli guis brew install tig # interactive top brew install htop # cat ++ brew install bat # ls ++ brew install exa # super-set of `git` with github features brew install hub # node version manager brew install nvm # "man" cmd but tldr'd brew install tldr # auto-corrects your last command brew install thefuck # dl youtube videos brew install youtube-dl # rainbow-fies text brew install lolcat # make the cow do the say brew install cowsay
CMD+K -> CMD+Bto toggle sidebar, as a throwback to my Sublime Text days. The key for it is
Probably.View All Posts