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