From 0572eb5d790d188d0d1c0d4e8f47c52fca4d7536 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 12 Feb 2018 15:34:10 +0800 Subject: [PATCH] wip/spacemacs: new --- wip/spacemacs.md | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 wip/spacemacs.md diff --git a/wip/spacemacs.md b/wip/spacemacs.md new file mode 100644 index 000000000..b29bc8998 --- /dev/null +++ b/wip/spacemacs.md @@ -0,0 +1,71 @@ +--- +title: Spacemacs +--- + +### 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 | +{: .-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} +