Skip to content

Instantly share code, notes, and snippets.

@JaredRoth
Last active November 13, 2024 16:47
Show Gist options
  • Save JaredRoth/b4bed5173867ff7485e1 to your computer and use it in GitHub Desktop.
Save JaredRoth/b4bed5173867ff7485e1 to your computer and use it in GitHub Desktop.
Make Mod 1 a little easier: Using Atom, Terminal, and other tools

Jared

iTerm

  • Get it
  • Preference changes to get certain shortcuts to behave the same as the rest of the system:
  • Preferences -> profiles -> Keys
  • Left option key: +Esc
  • Option-left: Send Escape sequence: b
  • Option-right: Send Escape sequence: f
  • Other settings
  • Transparency
  • System hotkey to focus/unfocus iTerm
  • Other things: poke around and see what you want to do

Other Shortcuts

  • Mac Abbreviations:
  • ⌘ : Command
  • ⌥ : Option/Alt
  • ⌃ : Control
  • ⇧ : Shift

System-wide shortcuts

  • ⌘-,
  • Open preferences for whatever application you're in
  • ⌘-w
  • Close current tab
  • ⌘-t
  • Open new tab
  • ⌘-shift-t
  • Reopen closed tab
  • ⌘-n
  • Open new window
  • ⌘-q
  • Close all the everythings of current application
  • ⌘-space
  • Spotlight search for quick opening or switching with many applications open
  • ⌘-tab
  • Switch between applications
  • While holding ⌘, an also use ` to go the other way
  • ⌘-`
  • Switch between open instances of an application
  • ⌘-(number)
  • Switch to that tab within application (Chrome/Atom most common)
  • ⌘-9
  • Switch to LAST tab (not the 9th)
  • Ctrl-Tab
  • Cycle through tabs within application
  • Can also hold shift to to cycle the other way

Text-editing-specific shortcuts

  • Ctrl-⌘-space
  • All-important emoji menu
  • ⌘-left/right (+shift)
  • Move cursor to (+highlight) beginning/end of line
  • Ctrl-left/right (+shift)
  • Move cursor (+highlight) left/right a word at a time

Shortcuts

  • ⌘-/
  • comment out whatever is highlighted
  • ⌘-ctrl-direction
  • move whatever is highlighted up or down
  • ⌘-ctrl-k
  • delete line that the cursor is on
  • ⌘-k -> direction
  • split pane
  • ⌘-k -> n
  • change focus between panes
  • ⌘-t
  • fuzzy finder
  • ⌘-\
  • open/close tree/directory view
  • ctrl-0
  • change focus between tree/directory and editor

Additional Applications

  • Spectacle- easily move windows into convenient locations
  • Divvy- alternative to spectacle
  • Flux- lower eye strain while working late
  • (The one that shows keyboard shortcuts)

Links & Q/A

@drew-t
Copy link

drew-t commented Mar 23, 2016

Hold CMD cheat sheet: https://www.mediaatelier.com/CheatSheet/

non-word characters to add in atom: /()"':,.;<>~!@#$%^&*|+=[]{}`?-_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment