--- title: Spacemacs layout: 2017/sheet category: Vim updated: 2018-02-12 intro: | [Spacemacs](http://spacemacs.org) is a distribution for Emacs. --- ### 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` `h` | Help | {: .-shortcuts} ### Help (`h`) | Shortcut | Description | | --- | --- | | `SPC` `h` `SPC` | Spacemacs help | | --- | --- | | `SPC` `h` `l` | Layers | {: .-shortcuts} ### File (`f`) | Shortcut | Description | | --- | --- | | `SPC` `f` `s` | Save | | `SPC` `f` `c` | Copy | {: .-shortcuts} ### Buffer (`b`) | Shortcut | Description | | --- | --- | | `SPC` `b` `n` | Next buffer (`:bnext`) | | `SPC` `b` `p` | Previous buffer (`:bprev`) | {: .-shortcuts} ### Config (`fe`) | Shortcut | Description | | --- | --- | | `SPC` `f` `e` `d` | Edit config | | `SPC` `f` `e` `D` | Edit config and template | | --- | --- | | `SPC` `f` `e` `R` | Reload config | {: .-shortcuts} ### Window (`w`) | Shortcut | Description | | --- | --- | | `SPC` `w` `.` | Help | | --- | --- | | `SPC` `w` `h/j/k/l` | Select | | `SPC` `w` `H/J/K/L` | Move | | --- | --- | | `SPC` `w` `s` | Split | | `SPC` `w` `S` | Split & follow | | --- | --- | | `SPC` `w` `v` | Split vert | | `SPC` `w` `V` | Split vert & follow | {: .-shortcuts} ## Major modes ### Markdown | Shortcut | Description | | --- | --- | | `,` `-` | Insert horizontal rule | | `,` `h` `1` | Insert H1 | {: .-shortcuts}