Skip to content

Instantly share code, notes, and snippets.

@paulanthonywilson
Last active August 29, 2015 14:23
Show Gist options
  • Save paulanthonywilson/ea32757c5213d4d7f7d7 to your computer and use it in GitHub Desktop.
Save paulanthonywilson/ea32757c5213d4d7f7d7 to your computer and use it in GitHub Desktop.
Spacemacs Cheatsheet

Spacemacs Cheatsheet

General

  • spc f s Save a buffer
  • spc f S Save all opened buffers
  • spc b s Open (switch) to a buffer with helm

NeoTree

spc pt - open in root dir spc ft - open in current dir

  • h collapse expanded directory or go to parent node
  • H previous sibling
  • j next file or directory
  • J next expanded directory on level down
  • k previous file or directory
  • K parent directory, when reaching the root change it to parent directory
  • l or RET expand directory
  • L next sibling
  • R make a directory the root directory
  • l or RET open file in last active window
  • # l or 2 RET open file in window number #
  • | open file in an vertically split window
  • - open file in an horizontally split window
  • TAB toggle stretching of the buffer
  • c create a node
  • d delete a node
  • g refresh
  • s toggle showing of hidden files
  • q or fd hide NeoTree buffer
  • r rename a node

Comments

  • SPC ; comment operator
  • SPC c i comment invert
  • SPC c l comment lines
  • SPC c p comment paragraphs
  • SPC c r comment region
  • SPC c t comment to line
  • SPC c y comment and yank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment