Skip to content

Instantly share code, notes, and snippets.

@nulldatamap
Last active April 17, 2018 14:56
Show Gist options
  • Save nulldatamap/88feeaeca63cde41b293c7ed2c726177 to your computer and use it in GitHub Desktop.
Save nulldatamap/88feeaeca63cde41b293c7ed2c726177 to your computer and use it in GitHub Desktop.
  • C-?: Control and ?
  • M-?: Alt and ?

C-x basic commands:

  • C-x s save
  • C-x C-f find file (open)
  • C-x k Kill buffer
  • C-x b Select buffer (switch file)

Editing commands

  • C-/ undo
  • C-? redo
  • C-w Kill (cut)
  • M-w Save as if kill (copy)
  • C-y Yank (paste)
  • M-g g Goto line
  • C-<shift>-<backspace> Delete line

Other usefull commands:

  • M-x Run command
  • M-m f e d Open .spacemacs file
  • M-m f e R Reload .spacemacs file

Window operations

  • M-<number> Move to window (window numbers are written in the bottom left of them)
  • M-m w d Delete window
  • M-m w / Split horizontally
  • M-m w - Split vertially
  • M-m w <left/right> Switch to left/right window

Buffer operations

  • M-m b d Delete buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment