Skip to content

Instantly share code, notes, and snippets.

@chandracarney
Last active April 23, 2017 13:41
Show Gist options
  • Save chandracarney/6f6a1b35a55da0928e66 to your computer and use it in GitHub Desktop.
Save chandracarney/6f6a1b35a55da0928e66 to your computer and use it in GitHub Desktop.
Atom Cheatsheet

##Useful packages:

  • Trailing Spaces (shows if you have extra whitespace anywhere in your project. I recommend changing the highlight color from blue)
  • Highlight Selected (upon double-click- shows multiples of words in file: useful when trying to see where a variable is coming from)
  • Seeing is Believing (most of us have this, though)

##Useful commands in general on an Apple (these also apply in Atom):

  • command + tab: switches between applications
  • command + ~: switches between windows of the same application
  • command + number: changes to specific tabs if you have multiples open (may not work in Safari)
  • command + W: closes window/tab
  • command + M: minimizes the application window
  • command + A: highlights all
  • command + N: creates a new file
  • command + S: allows you to save a file
  • option + left/right arrow: scrolls by jumping left/right entire words
  • option + delete: deletes entire words
  • command + control + F: toggles fullscreen

##Useful shortcuts in Atom (most carry over to Sublime):

  • command + D: highlights the same word and allows you to edit all at the same time (press D more if you want to select many)

  • command + : collapses/shows the sidebar

  • command + F: find in file

  • command + shift + F: find all in project

  • command + shift + D: copies line and pastes duplicate below

  • command + T: finds a certain file in your entire project (very useful for everything past Event Manager!)

  • command + enter: makes a blank line below current line (helpful if you are in the middle of the line and need a new line)

  • command + shift + enter: makes a blank line above the current line (helpful so much of the time)

  • command + left/right arrow: moves cursor to the beginning/end of the line

    • command + shift + left/right arrow: highlights to the beginning/end of the line
  • command + down/up arrow: moves cursor to end of document

    • command + shift + up/down arrow: highlights to the beginning/end of document
  • control + command + up arrow: moves the current line up

  • control + command + down arrow: moves the current line down

  • control + shift + k: delete current line

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