Shortcuts

Introduction

Spacemacs is a distribution for Emacs.

Layers

ShortcutDescription
SPC fFile
SPC pProject
SPC tToggle
SPC bBuffer
SPC mMajor mode
,Same as SPC m
SPC gGit
SPC lLayout
SPC aApps
SPC hHelp

More

ShortcutDescription
SPC SPCM-x
SPC 'Terminal
SPC /Search

SPC h - Help

ShortcutDescription
SPCSpacemacs help
lLayers
rDocumentation
fFAQ
TVimtutor

SPC f - File

ShortcutDescription
sSave
SSave all
cCopy
DDelete
yShow filename

SPC b - Buffer

ShortcutDescription
nNext buffer (:bnext)
pPrevious buffer (:bprev)
dDelete buffer (:bd)

SPC f e - Config

ShortcutDescription
dEdit config
DEdit config and template
RReload config

SPC w - Window

ShortcutDescription
.Help
h / j / k / lSelect
H / J / K / LMove
sSplit
SSplit & follow
vSplit vert
VSplit vert & follow

SPC p - Project

ShortcutDescription
lSwitch project
pSwitch project
hOpen files & recent
fOpen files
tShow tree
'Open terminal
$ tOpen terminal in root

SPC l w - Workspaces

ShortcutDescription
?Help
TABSwitch previous layout
0 ... 9Switch to nth workspace
RRename

SPC t - Toggle

ShortcutDescription
nLine numbers

SPC j - Jump

ShortcutDescription
jCharacter
lLine
wWord

More shortcuts

Major modes

Markdown

ShortcutDescription
, -Insert horizontal rule
, h 1Insert H1

Other layers

version-control

ShortcutDescription
SPC g sStatus
SPC g mOpen dispatch menu
SPC g m sStage
SPC g m P pPush
SPC g m cCommit
SPC g tOpen time machine
SPC g l lOpen in GitHub
SPC g l LShow GitHub URL

Version control is provided by Magit.

Emacs standard

File

EmacsSpacemacsDescription
C-x C-sSPC f sSave
C-x C-fSPC f fOpen
C-x C-k Close
C-x 2SPC w hSplit horizontal
C-x 3SPC w vSplit vertical
C-c C-c Confirm
C-c C-k Abort

References

0 Comments for this cheatsheet. Write yours!