Skip to content

Instantly share code, notes, and snippets.

@p1nox
Forked from yuvadm/spacemacs_for_sublime.MD
Created December 23, 2018 13:41
Show Gist options
  • Save p1nox/5a144148a13f5c2a964005f37bd64286 to your computer and use it in GitHub Desktop.
Save p1nox/5a144148a13f5c2a964005f37bd64286 to your computer and use it in GitHub Desktop.
Spacemacs 101 for Sublime users

This is a quick tutorial on how to start using Spacemacs coming from Sublime Text.

After installing Spacemacs, boot it up:

$ emacs

Open up a file by hitting SPACE f f, you can then locate and open a file by path with tab completion and ending with ENTER

If this file is part of a git repository, hit SPACE p t to get a nice project tree in the sidebar. You can then select more files from the project simply by clicking them. The same key combination will collapse the sidebar.

Searching for partial filename matches within the project can be done with SPACE p f.

If you no longer need a file open in a buffer, SPACE b d will close that buffer.

A new buffer can be opened with SPACE b N, save it as usual with :w filename (assuming you are in vim mode).

You might want to add some configuration layers for various languages, to do that open up the spacemacs config with SPACE f e d and un-comment out some configuration layers, save the file, and close the buffer. To refresh the spacemacs config, hit SPACE f e R.

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