Shortcuts
Introduction
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 |
More
| Shortcut | Description |
|---|---|
SPC SPC | M-x |
SPC ' | Terminal |
SPC / | Search |
SPC h - Help
| Shortcut | Description |
|---|---|
SPC | Spacemacs help |
l | Layers |
r | Documentation |
f | FAQ |
T | Vimtutor |
SPC f - File
| Shortcut | Description |
|---|---|
s | Save |
S | Save all |
c | Copy |
D | Delete |
y | Show filename |
SPC b - Buffer
| Shortcut | Description |
|---|---|
n | Next buffer (:bnext) |
p | Previous buffer (:bprev) |
d | Delete buffer (:bd) |
SPC f e - Config
| Shortcut | Description |
|---|---|
d | Edit config |
D | Edit config and template |
R | Reload config |
SPC w - Window
| Shortcut | Description |
|---|---|
. | Help |
h / j / k / l | Select |
H / J / K / L | Move |
s | Split |
S | Split & follow |
v | Split vert |
V | Split vert & follow |
SPC p - Project
| Shortcut | Description |
|---|---|
l | Switch project |
p | Switch project |
h | Open files & recent |
f | Open files |
t | Show tree |
' | Open terminal |
$ t | Open terminal in root |
SPC l w - Workspaces
| Shortcut | Description |
|---|---|
? | Help |
TAB | Switch previous layout |
0 ... 9 | Switch to nth workspace |
R | Rename |
SPC t - Toggle
| Shortcut | Description |
|---|---|
n | Line numbers |
SPC j - Jump
| Shortcut | Description |
|---|---|
j | Character |
l | Line |
w | Word |
More shortcuts
Major modes
Markdown
| Shortcut | Description |
|---|---|
, - | Insert horizontal rule |
, h 1 | Insert H1 |
Other layers
version-control
| Shortcut | Description |
|---|---|
SPC g s | Status |
SPC g m | Open dispatch menu |
SPC g m s | Stage |
SPC g m P p | Push |
SPC g m c | Commit |
SPC g t | Open time machine |
SPC g l l | Open in GitHub |
SPC g l L | Show GitHub URL |
Version control is provided by Magit.
Emacs standard
File
| Emacs | Spacemacs | Description |
|---|---|---|
C-x C-s | SPC f s | Save |
C-x C-f | SPC f f | Open |
C-x C-k | Close | |
C-x 2 | SPC w h | Split horizontal |
C-x 3 | SPC w v | Split vertical |
C-c C-c | Confirm | |
C-c C-k | Abort |
References
- Spacemacs documentation (github.com)
0 Comments for this cheatsheet. Write yours!