Lumage's Emacs cheatsheet

Exit Emacs | C-x C-c Abort | C-g Open | C-x C-f Save | C-x C-s Undo | C-_ Redo | M-_ Search | C-M-s Next? | C-s Prev? | C-r Replace | M-% Confirm Replace | y Skip Replacing | n Next Sentence | M-a Prev Sentence | M-e Next Function | C-M-a Prev Function | C-M-e Goto Line | M-g g Goto Char | M-g c Cut Region | C-w Cut Line | C-k Paste | C-y Split Window H | C-x 2 Split Window V | C-x 3 Delete Window | C-x 0 Switch Window | C-x o Scroll OTHER | C-M-v Grow Window V | C-x ^ Grow Window H | C-x } Shrink Window | C-x { Uppercase Region | C-x C-u Lowercase Region | C-x C-l Select Buffer | C-x b Kill Buffer | C-x k -NEOTREE- Toggle Display | F8 Create File | C-c C-n Delete File | C-c C-d Rename File | C-c C-r Copy File | C-c C-p Change Rootdir | C-c C-c -ORG MODE- * Header * TODO Header * DONE Header toggle with C-c C-t *bold* /italic/ _underline_ ~verbatim~ +strikethrough+ |table| #+BEGIN_SRC [mode] [+-n] #+END_SRC template fill: (s)rc (e)xample (q)uote (v)erse (c)enter (l)atex (h)tml (a)scii [[file:name][link-name]] [[section]] [[section][link-name]] Export | C-c C-e Export options: #+TITLE: #+AUTHOR: #+DATE: #+EMAIL: #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: #+OPTIONS: #+LINK_UP: #+LINK_HOME: #+LATEX_HEADER: #+STYLE: more see emacsclub.github.io/html/org_tutorial.html
C-x z | Repeat command hold z to repeat many
Eat sand | enter lumage
Major mode help: C-h m basically so you know what you're doing also if you enable CUA mode you can use normal human being cut/copy/paste shortcuts
>>14080 hecking org mode #+BEGIN_SRC C- | Set Mark #+END_SRC
it's spacebar ok
Org-mode has a minor mode called "Org Indent Mode." This mode is indented for larger documents where the multi-star heading format becomes messy ~*** heading~ would appear as ~ * heading~ Activate it with ~M-x org-indent-mode~ Type out the header level as you normally would. Comes with the bonus of aligning text to the current indentation level. Also converts normal org documents to the new display mode.
oh oh course brackets are still bad #+BEGIN_SRC elisp (defun org-html-toc (depth info) "Build a table of contents. DEPTH is an integer specifying the depth of the table. INFO is a plist used as a communication channel. Return the table of contents as a string, or nil if it is empty." (let ((toc-entries (mapcar (lambda (headline) (cons (org-html--format-toc-headline headline info) (org-export-get-relative-level headline info))) (org-export-collect-headlines info depth))) (outer-tag (if (and (org-html-html5-p info) (plist-get info :html-html5-fancy)) "nav" "div"))) (when toc-entries (concat (format "<%s id=\"table-of-contents\">\n" outer-tag) (format "<h%d>%s</h%d>\n" org-html-toplevel-hlevel (org-html--translate "Table of Contents" info) org-html-toplevel-hlevel) "<input id=\"toggle-table-of-contents\" type=\"checkbox\">" "<label for=\"toggle-table-of-contents\">table of contents</label>" "<div id=\"text-table-of-contents\">" (org-html--toc-text toc-entries) "</div>\n" (format "</%s>\n" outer-tag))))) #+END_SRC