cheatsheets/spacemacs.md

3.9 KiB

title layout category updated intro
Spacemacs 2017/sheet Apps 2018-02-15 [Spacemacs](http://spacemacs.org) is a distribution for Emacs.

Shortcuts

{: .-three-column}

Layers

Shortcut Description
SPC f File
SPC p Project
SPC t Toggle
SPC b Buffer
--- ---
SPC m Major mode
, Same as SPC m
--- ---
SPC g Git
SPC l Layout
SPC a Apps
SPC h Help
{: .-shortcuts.-prime}

More

Shortcut Description
SPC SPC M-x
SPC ' Terminal
SPC / Search
SPC 0 Neotree

SPC `h** - Help

Description Shortcut
Spacemacs help SPC
--- ---
Layers l
{: .-shortcuts-right}

SPC f - File

Description Shortcut
Save s
Copy c
{: .-shortcuts-right}

SPC b - Buffer

Description Shortcut
Next buffer (:bnext) n
Previous buffer (:bprev) p
{: .-shortcuts-right}

SPC f e - Config

Description Shortcut
Edit config d
Edit config and template D
--- ---
Reload config R
{: .-shortcuts}

SPC w - Window

Description Shortcut
Help .
---
Select h / j / k / l
Move H / J / K / L
--- ---
Split s
Split & follow S
--- ---
Split vert v
Split vert & follow V
{: .-shortcuts-right}

SPC p - Project

Description Shortcut
Switch project l
Switch project p
--- ---
Open files & recent h
Open files f
--- ---
Show tree t
--- ---
Open terminal '
Open terminal in root $ t
{: .-shortcuts-right}

SPC l w - Workspaces

Description Shortcut
Help ?
--- ---
Switch previous layout TAB
Switch to nth workspace 0 ... 9
--- ---
Rename R
{: .-shortcuts-right}

SPC t - Toggle

Description Shortcut
Line numbers n
{: .-shortcuts

SPC j - Jump

Description Shortcut
Character j
Line l
Word w
{: .-shortcuts-right}

Major modes

Markdown

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

References