Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 1.99 KB

File metadata and controls

50 lines (41 loc) · 1.99 KB

General Notes

Type doc.new or sheet.new into the URL bar and you will have a new google doc or a new google sheet

OSX

  • cmd-shift-5: screen capture / recording

  • licecap: create high quality gifs of the screen

  • Window management:

  • Moom: Manage window sizes and positions: $10

  • Spectacle: Manage window sizes and positions: Free

  • Divvy: Manage window sizes and positions: $13.99

  • Magnet: Manage window sizes and positions: $1.49

  • HyperSwitch: Show all windows when cmd-tabbing (make sure to change the default from option-tab to cmd-tab)

Any tabbed application

  • ctrl-w: Close tab
  • ctrl-option-left: go to previous tab
  • ctrl-option-right: go to next tab
  • ctr + cmd + space --> emoji picker across MacOS

Terminals:

  • Oh my zsh plugins
  • autojump
  • ctrl-r : to cycle through command history with fuzzy search. ctrl-r to cycle through all matches of current input
  • fzf (+fzf.vim): Even better fuzzy search with previews and stuff
  • tmux: cross-platform windowing tool for your terminal
  • alacritty: GPU powered minimal terminal emulator

VSCode

  • cmd-option-<up> / cmd-option-<down> / option-click: multi cursor
  • cmd-k-0 toggle all folds
  • cmd-k-1: fold all code down
  • cmd-k-2: Set fold level to "2", and so on... (but wont open folds)
  • cmd-k-j: open all folds
  • cmd-option-] / cmd-option-[: toggle current fold
  • cmd-] / cmd-[: indent / dedent
  • alt-shift-p: (when used with VSCode plugin "prettier") will format the code
  • cmd-j: toggle visibility of bottom panel
  • Disable Workbench > Editor > Preview to retain your sanity
  • cmd-p highlight a file, then option-enter: Open file in split pane

Vim:

  • wddfwerio<left><left>gnvil45h89#@lsd<enter>fkjweoivdfli<esc><esc><esc>jser8923423
  • :q! to quit

GIT Type git open from within a git repo to open that repo + branch in GitHub in the browser. Requires: https://github.com/paulirish/git-open which can be installed in a bunch of different ways.