org-mode: new sheet
This commit is contained in:
parent
7be602c9c5
commit
c4d0e1bc7d
|
@ -0,0 +1,113 @@
|
||||||
|
---
|
||||||
|
title: Org Mode
|
||||||
|
layout: 2017/sheet
|
||||||
|
tags: [WIP]
|
||||||
|
category: Apps
|
||||||
|
updated: 2018-02-19
|
||||||
|
intro: |
|
||||||
|
[Org mode](https://orgmode.org/) is for keeping hierarchal notes (and more) in Emacs.
|
||||||
|
---
|
||||||
|
|
||||||
|
## Syntax
|
||||||
|
{: .-three-column}
|
||||||
|
|
||||||
|
### Headings
|
||||||
|
|
||||||
|
```org
|
||||||
|
* Welcome to Org mode
|
||||||
|
|
||||||
|
Lines starting with * are headings.
|
||||||
|
These lines without are notes.
|
||||||
|
|
||||||
|
** Sub-heading
|
||||||
|
|
||||||
|
Two stars mark a 2nd-level subheading (h2).
|
||||||
|
```
|
||||||
|
|
||||||
|
### Lists
|
||||||
|
|
||||||
|
```org
|
||||||
|
* Lists
|
||||||
|
|
||||||
|
To buy:
|
||||||
|
1. Milk
|
||||||
|
2. Eggs
|
||||||
|
- Organic
|
||||||
|
3. Cheese
|
||||||
|
+ Parmesan
|
||||||
|
+ Mozarella
|
||||||
|
```
|
||||||
|
|
||||||
|
### Inline styles
|
||||||
|
|
||||||
|
```org
|
||||||
|
*bold*
|
||||||
|
/italic/
|
||||||
|
_underline_
|
||||||
|
=code=
|
||||||
|
~verbatim~
|
||||||
|
+strike-through+
|
||||||
|
```
|
||||||
|
|
||||||
|
### To do
|
||||||
|
|
||||||
|
```org
|
||||||
|
* TODO buy airplane
|
||||||
|
```
|
||||||
|
|
||||||
|
Cycle by using `S-LEFT` / `S-RIGHT`. List all TODO's via `C-c C-v`.
|
||||||
|
|
||||||
|
## Shortcuts
|
||||||
|
{: .-three-column}
|
||||||
|
|
||||||
|
### Basic shortcuts
|
||||||
|
|
||||||
|
| Description | Shortcut |
|
||||||
|
| --- | --- |
|
||||||
|
| (Un) fold | `TAB` / `S-TAB` |
|
||||||
|
| Move up | `M-UP` / `M-DOWN` |
|
||||||
|
| New headline | `M-RET` |
|
||||||
|
| Cycle workflow | `S-LEFT` / `S-RIGHT` |
|
||||||
|
| Cycle priority | `S-UP` / `S-DOWN` |
|
||||||
|
{:.-shortcuts-right}
|
||||||
|
|
||||||
|
### Timer
|
||||||
|
|
||||||
|
| Description | Shortcut |
|
||||||
|
| --- | --- |
|
||||||
|
| Start timer | `C-c` `C-x` `0` |
|
||||||
|
| Stop timer | `C-c` `C-x` `_` |
|
||||||
|
| Pause timer | `C-c` `C-x` `,` |
|
||||||
|
| --- | --- |
|
||||||
|
| Start countdown | `C-c` `C-x` `;` |
|
||||||
|
{:.-shortcuts-right}
|
||||||
|
|
||||||
|
You can use this for Pomodoro!
|
||||||
|
|
||||||
|
### Agenda
|
||||||
|
|
||||||
|
| Description | Shortcut |
|
||||||
|
| --- | --- |
|
||||||
|
| Agenda menu | `C-c` `a` |
|
||||||
|
| --- | --- |
|
||||||
|
| Add document | `C-c` `[` |
|
||||||
|
| Remove document | `C-c` `]` |
|
||||||
|
| --- | --- |
|
||||||
|
| Add date | `C-c` `.` |
|
||||||
|
| Add time & date | `C-u` `C-c` `.` |
|
||||||
|
{:.-shortcuts-right}
|
||||||
|
|
||||||
|
Start by adding the current file to the agenda (`C-c [`), then use the agenda menu to navigate.
|
||||||
|
|
||||||
|
### Export
|
||||||
|
|
||||||
|
| Description | Shortcut |
|
||||||
|
| --- | --- |
|
||||||
|
| Export menu | `C-c` `C-e` |
|
||||||
|
|
||||||
|
Lets you export the document as Markdown, HTML, and others.
|
||||||
|
|
||||||
|
## References
|
||||||
|
|
||||||
|
- [Org for beginners](https://orgmode.org/worg/org-tutorials/org4beginners.html) _(orgmode.org)_
|
||||||
|
- [Org mode website](https://orgmode.org/) _(orgmode.org)_
|
18
spacemacs.md
18
spacemacs.md
|
@ -3,6 +3,7 @@ title: Spacemacs
|
||||||
layout: 2017/sheet
|
layout: 2017/sheet
|
||||||
category: Apps
|
category: Apps
|
||||||
updated: 2018-02-15
|
updated: 2018-02-15
|
||||||
|
tags: [WIP]
|
||||||
intro: |
|
intro: |
|
||||||
[Spacemacs](http://spacemacs.org) is a distribution for Emacs.
|
[Spacemacs](http://spacemacs.org) is a distribution for Emacs.
|
||||||
---
|
---
|
||||||
|
@ -153,3 +154,20 @@ Shortcuts
|
||||||
## References
|
## References
|
||||||
|
|
||||||
- [Spacemacs documentation](https://github.com/syl20bnr/spacemacs/blob/master/doc/DOCUMENTATION.org) _(github.com)_
|
- [Spacemacs documentation](https://github.com/syl20bnr/spacemacs/blob/master/doc/DOCUMENTATION.org) _(github.com)_
|
||||||
|
|
||||||
|
## Emacs standard
|
||||||
|
|
||||||
|
### File
|
||||||
|
|
||||||
|
| Description | Emacs | Spacemacs |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| Save | `C-x` `C-s` | `SPC` `f` `s` |
|
||||||
|
| Open | `C-x` `C-f` | `SPC` `f` `f` |
|
||||||
|
| Close | `C-x` `C-k` | |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| Split horizontal | `C-x` `2` | `SPC` `w` `h` |
|
||||||
|
| Split vertical | `C-x` `3` | `SPC` `w` `v` |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| Confirm | `C-c` `C-c` | |
|
||||||
|
| Abort | `C-c` `C-k` | |
|
||||||
|
{: .-shortcuts-right}
|
||||||
|
|
Loading…
Reference in New Issue