mirror of
https://github.com/correl/dotfiles.git
synced 2025-03-10 17:00:06 -09:00
[emacs] Configure org-habit
This commit is contained in:
parent
ae8a21e850
commit
f443f47a02
1 changed files with 26 additions and 0 deletions
|
@ -82,6 +82,32 @@
|
||||||
(cons '("\\.md" . markdown-mode) auto-mode-alist))
|
(cons '("\\.md" . markdown-mode) auto-mode-alist))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Org
|
** Org
|
||||||
|
*** Modules
|
||||||
|
#+name: org-module-table
|
||||||
|
| org-habit |
|
||||||
|
|
||||||
|
#+name: packages
|
||||||
|
#+BEGIN_SRC emacs-lisp :noweb yes
|
||||||
|
(let ((modules (mapcar (lambda (m) (make-symbol (car m)))
|
||||||
|
'<<org-module-table()>>)))
|
||||||
|
(mapcar (lambda (m) (add-to-list 'org-modules m))
|
||||||
|
modules))
|
||||||
|
(org-load-modules-maybe t)
|
||||||
|
#+END_SRC
|
||||||
|
*** Tasks
|
||||||
|
**** Log completion
|
||||||
|
#+name: packages
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq org-log-done 'time)
|
||||||
|
#+END_SRC
|
||||||
|
**** Habits
|
||||||
|
Shift the consistency graph over a bit to make room for task
|
||||||
|
names.
|
||||||
|
#+name: packages
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq org-habit-graph-column 70)
|
||||||
|
(setq org-habit-show-habits-only-for-today nil)
|
||||||
|
#+END_SRC
|
||||||
*** Babel
|
*** Babel
|
||||||
**** Syntax highlighting
|
**** Syntax highlighting
|
||||||
#+name: packages
|
#+name: packages
|
||||||
|
|
Loading…
Add table
Reference in a new issue