From 506ba717c2fe0d0300a4ca11e91b26ec5746eb4b Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 12 Jul 2019 22:59:35 -0400 Subject: [PATCH] emacs: set up org-habit --- .emacs.d/init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c05ceed..66980c5 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -569,6 +569,7 @@ For disabling the behaviour for certain buffers and/or modes." org-catch-invisible-edits 'show-and-error org-log-done 'time) (add-to-list 'org-structure-template-alist '("L" . "src emacs-lisp") t) + (add-to-list 'org-modules 'org-habit) :bind (("C-c a o a" . org-agenda) :map org-mode-map @@ -580,8 +581,11 @@ For disabling the behaviour for certain buffers and/or modes." (org-mode . flyspell-mode)) :custom (org-agenda-files '("~/usr/org/todos/personal.org" + "~/usr/org/todos/habits.org" "~/usr/org/todos/masters.org")) (org-agenda-start-on-weekday 0) + (org-agenda-time-leading-zero t) + (org-habit-graph-column 44) (org-latex-packages-alist '(("" "listings") ("" "color"))) :custom-face '(org-block-begin-line ((t (:foreground "#5a5b5a" :background "#1d1f21")))) -- 2.20.1