Back to Cheatsheets

Spacemacs

Apps2020-05-22WIP

Shortcuts

{: .-three-column}

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
{: .-shortcuts.-prime}

More

DescriptionShortcut
M-xSPC SPC
TerminalSPC '
SearchSPC /
{: .-shortcuts-right}

SPC h - Help

DescriptionShortcut
Spacemacs helpSPC
------
Layersl
Documentationr
FAQf
VimtutorT
{: .-shortcuts-right}

SPC f - File

DescriptionShortcut
Saves
Save allS
Copyc
DeleteD
------
Show filenamey
{: .-shortcuts-right}

SPC b - Buffer

DescriptionShortcut
Next buffer (:bnext)n
Previous buffer (:bprev)p
Delete buffer (:bd)d
{: .-shortcuts-right}

SPC f e - Config

DescriptionShortcut
Edit configd
Edit config and templateD
------
Reload configR
{: .-shortcuts}

SPC w - Window

DescriptionShortcut
Help.
---
Selecth / j / k / l
MoveH / J / K / L
------
Splits
Split & followS
------
Split vertv
Split vert & followV
{: .-shortcuts-right}

SPC p - Project

DescriptionShortcut
Switch projectl
Switch projectp
------
Open files & recenth
Open filesf
------
Show treet
------
Open terminal'
Open terminal in root$ t
{: .-shortcuts-right}

SPC l w - Workspaces

DescriptionShortcut
Help?
------
Switch previous layoutTAB
Switch to nth workspace0 ... 9
------
RenameR
{: .-shortcuts-right}

SPC t - Toggle

DescriptionShortcut
Line numbersn
{: .-shortcuts

SPC j - Jump

DescriptionShortcut
Characterj
Linel
Wordw
{: .-shortcuts-right}

Major modes

Markdown

ShortcutDescription
, -Insert horizontal rule
, h 1Insert H1
{: .-shortcuts}

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
{: .-shortcuts}

Version control is provided by Magit.

Emacs standard

File

DescriptionEmacsSpacemacs
SaveC-x C-sSPC f s
OpenC-x C-fSPC f f
CloseC-x C-k
---------
Split horizontalC-x 2SPC w h
Split verticalC-x 3SPC w v
---------
ConfirmC-c C-c
AbortC-c C-k
{: .-shortcuts-right}

References