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 + P and I use it several times a day.CMD+OPT+2 and Three Columns to CMD+OPT+3, and so on..env files) visible with CMD+SHIFT+..CMD+OPT+L goes 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.CONFLICT files 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 Text trigger. 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+D and CMD+SHIFT+D to 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+B to toggle sidebar, as a throwback to my Sublime Text days. The key for it is workbench.action.toggleSidebarVisibility.Probably.
View All Posts