title | category | updated | tags | intro | |
---|---|---|---|---|---|
Spacemacs |
Apps |
2020-05-22 |
|
[Spacemacs](http://spacemacs.org) is a distribution for Emacs.
|
{: .-three-column}
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} |
Description | Shortcut |
---|---|
M-x | SPC SPC |
Terminal | SPC ' |
Search | SPC / |
{: .-shortcuts-right} |
Description | Shortcut |
---|---|
Spacemacs help | SPC |
--- | --- |
Layers | l |
Documentation | r |
FAQ | f |
Vimtutor | T |
{: .-shortcuts-right} |
Description | Shortcut |
---|---|
Save | s |
Save all | S |
Copy | c |
Delete | D |
--- | --- |
Show filename | y |
{: .-shortcuts-right} |
Description | Shortcut |
---|---|
Next buffer (:bnext ) |
n |
Previous buffer (:bprev ) |
p |
Delete buffer (:bd ) |
d |
{: .-shortcuts-right} |
Description | Shortcut |
---|---|
Edit config | d |
Edit config and template | D |
--- | --- |
Reload config | R |
{: .-shortcuts} |
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} |
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} |
Description | Shortcut |
---|---|
Help | ? |
--- | --- |
Switch previous layout | TAB |
Switch to nth workspace | 0 ... 9 |
--- | --- |
Rename | R |
{: .-shortcuts-right} |
Description | Shortcut |
---|---|
Line numbers | n |
{: .-shortcuts |
Description | Shortcut |
---|---|
Character | j |
Line | l |
Word | w |
{: .-shortcuts-right} |
Shortcut | Description |
---|---|
, - |
Insert horizontal rule |
, h 1 |
Insert H1 |
{: .-shortcuts} |
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 |
{: .-shortcuts} |
Version control is provided by Magit.
Description | Emacs | Spacemacs |
---|---|---|
Save | C-x C-s |
SPC f s |
Open | C-x C-f |
SPC f f |
Close | C-x C-k |
|
--- | --- | --- |
Split horizontal | C-x 2 |
SPC w h |
Split vertical | C-x 3 |
SPC w v |
--- | --- | --- |
Confirm | C-c C-c |
|
Abort | C-c C-k |
|
{: .-shortcuts-right} |
- Spacemacs documentation (github.com)