wip/spacemacs: new

This commit is contained in:
Rico Sta. Cruz 2018-02-12 15:34:10 +08:00
parent 03f63d7dcc
commit 0572eb5d79
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 71 additions and 0 deletions

71
wip/spacemacs.md Normal file
View File

@ -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}