spacemacs: new sheet
This commit is contained in:
parent
e780580524
commit
81bc1c16f5
|
@ -70,8 +70,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.MarkdownBody table.-shortcuts {
|
||||
td:first-child > code {
|
||||
@mixin shortcut-span {
|
||||
font-size: 1rem;
|
||||
padding: 5px 6px;
|
||||
padding-left: 8px; // compensation
|
||||
|
@ -81,6 +80,17 @@
|
|||
letter-spacing: 0.1em;
|
||||
color: $base-text;
|
||||
}
|
||||
|
||||
.MarkdownBody table.-shortcuts {
|
||||
td:first-child > code {
|
||||
@include shortcut-span;
|
||||
}
|
||||
}
|
||||
|
||||
.MarkdownBody table.-shortcuts-right {
|
||||
td:last-child > code {
|
||||
@include shortcut-span;
|
||||
}
|
||||
}
|
||||
|
||||
.MarkdownBody table.-left-align {
|
||||
|
|
|
@ -0,0 +1,148 @@
|
|||
---
|
||||
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` `l` | Layout |
|
||||
| `SPC` `a` | Apps |
|
||||
| `SPC` `h` | Help |
|
||||
{: .-shortcuts.-prime}
|
||||
|
||||
### More
|
||||
|
||||
| Shortcut | Description |
|
||||
| --- | --- |
|
||||
| `SPC` `SPC` | M-x |
|
||||
| `SPC` `'` | Terminal |
|
||||
| `SPC` `/` | Search |
|
||||
| `SPC` `0` | Neotree |
|
||||
|
||||
### `SPC` `h** - Help
|
||||
|
||||
| Description | Shortcut |
|
||||
| --- | --- |
|
||||
| **Spacemacs help** | `SPC` |
|
||||
| --- | --- |
|
||||
| Layers | `l` |
|
||||
{: .-shortcuts-right}
|
||||
|
||||
### `SPC` `f` - File
|
||||
|
||||
| Description | Shortcut |
|
||||
| --- | --- |
|
||||
| **Save** | `s` |
|
||||
| Copy | `c` |
|
||||
{: .-shortcuts-right}
|
||||
|
||||
### `SPC` `b` - Buffer
|
||||
|
||||
| Description | Shortcut |
|
||||
| --- | --- |
|
||||
| Next buffer (`:bnext`) | `n` |
|
||||
| Previous buffer (`:bprev`) | `p` |
|
||||
{: .-shortcuts-right}
|
||||
|
||||
### `SPC` `f` `e` - Config
|
||||
|
||||
| Description | Shortcut |
|
||||
| --- | --- |
|
||||
| **Edit config** | `d` |
|
||||
| Edit config and template | `D` |
|
||||
| --- | --- |
|
||||
| Reload config | `R` |
|
||||
{: .-shortcuts}
|
||||
|
||||
### `SPC` `w` - Window
|
||||
|
||||
| Description | Shortcut |
|
||||
| --- | --- |
|
||||
| Help | `.` |
|
||||
| | --- |
|
||||
| Select | `h` / `j` / `k` / `l` |
|
||||
| Move | `H` / `J` / `K` / `L` |
|
||||
| --- | --- |
|
||||
| Split | `s` |
|
||||
| Split & follow | `S` |
|
||||
| --- | --- |
|
||||
| Split vert | `v` |
|
||||
| Split vert & follow | `V` |
|
||||
{: .-shortcuts-right}
|
||||
|
||||
### `SPC` `p` - Project
|
||||
|
||||
| Description | Shortcut |
|
||||
| --- | --- |
|
||||
| **Switch project** | `l` |
|
||||
| Switch project | `p` |
|
||||
| --- | --- |
|
||||
| **Open files & recent** | `h` |
|
||||
| Open files | `f` |
|
||||
| --- | --- |
|
||||
| **Show tree** | `t` |
|
||||
| --- | --- |
|
||||
| Open terminal | `'` |
|
||||
| Open terminal in root | `$` `t` |
|
||||
{: .-shortcuts-right}
|
||||
|
||||
### `SPC` `l` `w` - Workspaces
|
||||
|
||||
| Description | Shortcut |
|
||||
| --- | --- |
|
||||
| Help | `?` |
|
||||
| --- | --- |
|
||||
| Switch previous layout | `TAB` |
|
||||
| **Switch to nth workspace** | `0` ... `9` |
|
||||
| --- | --- |
|
||||
| Rename | `R` |
|
||||
{: .-shortcuts-right}
|
||||
|
||||
### `SPC` `t` - Toggle
|
||||
|
||||
| Description | Shortcut |
|
||||
| --- | --- |
|
||||
| Line numbers | `n` |
|
||||
{: .-shortcuts
|
||||
|
||||
### `SPC` `j` - Jump
|
||||
|
||||
| Description | Shortcut |
|
||||
| --- | --- |
|
||||
| Character | `j` |
|
||||
| Line | `l` |
|
||||
| Word | `w` |
|
||||
{: .-shortcuts-right}
|
||||
|
||||
## Major modes
|
||||
|
||||
### Markdown
|
||||
|
||||
| Shortcut | Description |
|
||||
| --- | --- |
|
||||
| `,` `-` | Insert horizontal rule |
|
||||
| `,` `h` `1` | Insert H1 |
|
||||
{: .-shortcuts}
|
||||
|
||||
## References
|
||||
|
||||
- [Spacemacs documentation](https://github.com/syl20bnr/spacemacs/blob/master/doc/DOCUMENTATION.org) _(github.com)_
|
|
@ -1,99 +0,0 @@
|
|||
---
|
||||
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}
|
Loading…
Reference in New Issue