--- 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} ### `SPC` `h` - Help | Shortcut | Description | | --- | --- | | `SPC` | Spacemacs help | | --- | --- | | `l` | Layers | {: .-shortcuts} ### `SPC` `f` - File | Shortcut | Description | | --- | --- | | `s` | Save | | `c` | Copy | {: .-shortcuts} ### `SPC` `b` - Buffer | Shortcut | Description | | --- | --- | | `n` | Next buffer (`:bnext`) | | `p` | Previous buffer (`:bprev`) | {: .-shortcuts} ### `SPC` `f` `e` - Config | Shortcut | Description | | --- | --- | | `d` | Edit config | | `D` | Edit config and template | | --- | --- | | `R` | Reload config | {: .-shortcuts} ### `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 | {: .-shortcuts} ### `SPC` `p` - Project | Shortcut | Description | | --- | --- | | `p` | Open project | | --- | --- | | `h` | Open files | | `f` | Open files | {: .-shortcuts} ## Major modes ### Markdown | Shortcut | Description | | --- | --- | | `,` `-` | Insert horizontal rule | | `,` `h` `1` | Insert H1 | {: .-shortcuts}