Skip to content

Instantly share code, notes, and snippets.

@qazwsxpawel
Last active July 27, 2018 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qazwsxpawel/94d6fced878484e145e96c9a65183fa9 to your computer and use it in GitHub Desktop.
Save qazwsxpawel/94d6fced878484e145e96c9a65183fa9 to your computer and use it in GitHub Desktop.

FORMATTING: code verbose **bold** cursive italics strikethrough underline

states, multiple: https://orgmode.org/guide/Multi_002dstate-workflows.html#Multi_002dstate-workflows definnig state in variable like

(setq org-todo-keywords
  '((sequence "TODO(t)" "|" "DONE(d)")
  (sequence "REPORT(r)" "BUG(b)" "KNOWNCAUSE(k)" "|" "FIXED(f)")))

startup keyword overview, content, showall, like this: or as a text in the file

#+TODO: TODO(t) | DONE(d)
#+TODO: REPORT(r) BUG(b) KNOWNCAUSE(k) | FIXED(f)
#+TODO: | CANCELED(c)

and generally the concept of “in-buffer setting”

#+STARTUP: content

you can insert a clock table in a document cf. https://orgmode.org/guide/Clocking-work-time.html#Clocking-work-time To keep the overview over the fraction of subtasks that are already completed, insert either ‘[/]’ or ‘[%]’ anywhere in the headline. These cookies will be updated each time the TODO status of a child changes, or when pressing C-c C-c on the cookie. states for subtree (tab):

,-> FOLDED -> CHILDREN -> SUBTREE --.
'-----------------------------------'

global (s-tab)

,-> OVERVIEW -> CONTENTS -> SHOW ALL --.
'--------------------------------------'

templates for org-capture: https://orgmode.org/guide/Capture-templates.html#Capture-templates Plain lists: not part of the outline tree but have some cool features: https://orgmode.org/guide/Plain-lists.html#Plain-lists

  • unordered
  • ordered
description
something achieved with ::
  • toggle with C-c -

Tags global list org-tag-alist You can specify tags in the file with apropriate header including one letter shor for the tag

#+TAGS: @work(w)  @home(h)  @tennisclub(t)  laptop(l)  pc(p)

You can group tags with

#+TAGS: { @read : @read_book  @read_ebook }

the search for the @read tag will include the results tagged with all the tags in the grouop (e.g. @read_book) search by creating a sparse tree with ~,/~ and m or C-c a m global tag list different environments

  • <e example
  • <q quote
  • <v verse
  • <s source (you can add language name)
  • ~,’~ to open the code snippet with apropriate mode

To insert a horizontal rules, use a line consisting of only dashes, and at least 5 of them. Latex symbols can be used in org directly (!!) Agenda files stored in org-agenda-files variable When using matching for filtering/searching org files C-c a m there is special syntax ‘+work-boss’ Select headlines tagged ‘:work:’, but discard those also tagged ‘:boss:’. ‘work|laptop’ Selects lines tagged ‘:work:’ or ‘:laptop:’. ‘work|laptop+night’ Like before, but require the ‘:laptop:’ lines to be tagged also ‘:night:’.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment