Created
March 10, 2017 18:37
-
-
Save phred/9c6b82434d0140a72e66d0d5811b80d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * Emacs | |
| ** Emacs word completion | |
| *** Complete in local buffer | |
| M-/ binds to dabbrev-expand, it's very much like Vim's insert mode C-n | |
| *** Hippie expansion | |
| Not enabled by default, tries to complete whatever's at the point | |
| in many different ways: dabbrev, ffap, etc. | |
| ** Org outline keyboard shortcuts | |
| *** New outline node | |
| - C-ret works when the point is anywhere in a node. | |
| - C-ret at column 0 of an outline creates a node above the point | |
| *** Promote/demote entire subtree | |
| C-c C-< or C-c C-> | |
| *** Promote-demote current heading | |
| M-left / M-right with point on heading. | |
| Example: move from note to heading and promote. C-c C-p M-right | |
| *** Move subtree up / down | |
| M-S-up and M-S-down -- easy, no? | |
| *** Motion commands | |
| - C-c C-u moves up to the previous level outline | |
| - C-c C-n moves to the next visible outline | |
| - C-c C-p moves to the previous visible outline | |
| - C-c C-b / C-c C-f moves to the next outline at the same level | |
| - Example: move up a level and jump to the previous node of that same level: | |
| C-c C-u C-c C-b | |
| *** Mark subtree | |
| C-c @ | |
| *** Notes & plain lists | |
| - M-ret inserts a new list node. M-ret at column 0 inserts node above point | |
| - M-S-ret inserts a list node with check box | |
| - Toggle checkboxes with C-c C-x C-b | |
| ** Dates | |
| ** Join lines | |
| Equivalent of J in vim: M-^. Smart about throwing away whitespace. | |
| ** narrow / widen | |
| *** Narrow to current function definition | |
| C-x n d | |
| *** Widen to entire buffer | |
| C-x n w | |
| ** show images inline | |
| Only works with file links, for example | |
| [[file:~/Pictures/1122845192_44867ade0e_b.jpg]] | |
| In org-mode buffers press to toggle: C-c C-x C-v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment