Skip to content

Instantly share code, notes, and snippets.

@ivanoats
Forked from orta/notes.md
Created May 17, 2016 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivanoats/44cad3081bd6ac264410d88de38d14f2 to your computer and use it in GitHub Desktop.
Save ivanoats/44cad3081bd6ac264410d88de38d14f2 to your computer and use it in GitHub Desktop.
Notes on Spacemacs

Start out

install via

  brew tap railwaycat/homebrew-emacsmacport
  brew install emacs-mac --with-spacemacs-icon  # OR, brew cask install emacs-mac
  brew linkapps

Terminology

  • Buffer = file
  • Window != NSWindow
  • Frame = NSWindow

Pre-reading

Notes

Commands
  • open a folder in spacemacs: https://gist.github.com/railwaycat/4043945 ? but emacsclient . & seems to do it pretty well too.
  • open a directory: SPC a d
  • open a file inside a project: SPC f f (find file)
  • open a new window with cmd n - sometimes :/
  • search current buffer for something SPC s s (search silly)
  • search keybindings SPC ?
  • open a previous project SPC p-p
Notes
  • cmd z does not undo. You press u when in normal non-editing mode.
  • When you do SPC-[x]: the bar at the bottom tells you what context you're in.
  • Doing SPC ; lets you type in a command

File Tree

Open a file tree to the left hand side: SPC f-t. This is emacs-neotree docs on NeoTree It's classed as a window, so you can jump to it with SPC 0 or cmd + 0.

Frame per project

I've not figured this out yet, feels really weird not being able to use my window manager to jump through multiple projects. eyebrowse and projectile seem to be things that might do this.

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