1 #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:t skip:nil d:(HIDE) tags:not-in-toc
2 #+STARTUP: align fold nodlcheck hidestars oddeven lognotestate
3 #+SEQ_TODO: TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
4 #+TAGS: Write(w) Update(u) Fix(f) Check(c)
5 #+TITLE: Org configuration(s)
7 #+EMAIL: bzg AT altern DOT org
12 # This file is the default header for new Org files in Worg. Feel free
13 # to tailor it to your needs.
17 - David O'Toole [[file:../elisp/dto-org-gtd.el][GTD configuration file]]
19 * General Configuration/Customization
21 ** Some useful keybindings
23 Here is a subset of my personal org-mode key-bindings that others may
26 # please anyone else should feel free to edit/change/remove parts of
30 (add-hook 'org-mode-hook (lambda ()
31 (local-set-key "\M-n" 'outline-next-visible-heading)
32 (local-set-key "\M-p" 'outline-previous-visible-heading)
34 (local-set-key "\M-\C-w" 'org-table-copy-region)
35 (local-set-key "\M-\C-y" 'org-table-paste-rectangle)
36 (local-set-key "\M-\C-l" 'org-table-sort-lines)
38 (local-set-key "\M-I" 'org-toggle-iimage-in-org)
40 (local-set-key "\C-y" 'yank)
41 ;; yasnippet (allow yasnippet to do it's thing in org files)
42 (make-variable-buffer-local 'yas/trigger-key)
43 (setq yas/trigger-key [tab])
44 (define-key yas/keymap [tab] 'yas/next-field-group)))
47 References and Explanations of the above:
48 - see [[* iimage in org (display images in org files)]] for an explanation
49 of the =org-toggle-iimage-in-org= function (inline images in
51 - [[http://code.google.com/p/yasnippet/][yasnippet]] is a tools for snippet expansion in Emacs. Since Org-Mode
52 is descendant of text-mode, all text snippets will work inside of
53 org files, I also use the following to simplify the creation of
54 example and source code blocks.
58 #name : #+begin_...#+end_
66 ** iimage in org (display images in org files)
67 Thanks to many on the mailing list for this great addition to
68 Org-Mode. See [[http://www.netlaputa.ne.jp/~kose/Emacs/iimage.html][iimage]] for information on iimage-minor-mode.
71 (add-to-list 'iimage-mode-image-regex-alist
72 (cons (concat "\\[\\[file:\\(~?" iimage-mode-image-filename-regex
75 (defun org-toggle-iimage-in-org ()
76 "display images in your org file"
78 (if (face-underline-p 'org-link)
79 (set-face-underline-p 'org-link nil)
80 (set-face-underline-p 'org-link t))