diff options
Diffstat (limited to 'gui/conf')
-rw-r--r-- | gui/conf/init.el | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el index d920fad..4dbaba5 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -94,6 +94,25 @@ '((sequence "TODO(t)" "|" "DONE(d)") (sequence "EXAM(e)" "|" "DONE(d)"))) +(setq org-capture-templates + '(("t" + "Todo item" + entry + (file org-default-notes-file) + "* TODO %?\n%a") + ("j" + "Journal entry" + entry + (file org-default-notes-file) + "* %U %^{Title}\n%?") + ("s" + "Quote selection" + entry + (file org-default-notes-file) + "* %^{Description}\n%U\n#+BEGIN_QUOTE\n%i#+END_QUOTE"))) + +(global-set-key (kbd "C-c c") 'org-capture) + (add-hook 'org-mode-hook 'visual-line-mode) (setq org-latex-preview-ltxpng-directory "~/.emacs.d/ltxpng/") |