Next: Agenda and Capture Setup, Previous: In-Buffer Settings, Up: Org Setup [Index]
Use key bindings to quickly insert empty structural blocks or wrap existing text in blocks.
org-modules
Org TempoENABLE ORG TEMPO by adding it to org-modules
or by loading it in the Emacs init file using:
(require 'org-tempo)
org-tempo-keywords-alist
Org Tempo expands snippets to structures defined in this and next alist variable. ORG TEMPO MUST FIRST BE LOADED TO WORK. SEE ABOVE.
This is an alist of KEY characters and corresponding KEYWORDS, just like ‘org-structure-template-alist’. The tempo snippet "<KEY" will be expanded using the KEYWORD value. It’s initial value is:
(("L" . "latex") ("H" . "html") ("A" . "ascii") ("i" . "index"))
org-structure-template-alist
An alist of keys and structure block types used by org-insert-structure-template
.
VALUES CAN BE CUSTOMIZED (added to, modified, deleted). It’s initial value is:
(("a" . "export ascii") ("c" . "center") ("C" . "comment") ("e" . "example") ("E" . "export") ("h" . "export html") ("l" . "export latex") ("q" . "quote") ("s" . "src") ("v" . "verse"))
org-insert-structure-template
(‘C=c C-,’)Prompt (using keys, e.g., ‘a’, ‘c’, etc.), for a type of block structure, and insert the block at point. If region is active, wrap it in the block. ‘#+BEGIN_<TYPE> ... #+END_<TYPE>’