Commit 7da45b4c3b62

Vincent Demeester <vincent@sbr.pm>
2016-04-07 14:52:08
Beautify org-mode a bit
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 8fecc0c
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -1790,6 +1790,25 @@
        (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
      #+end_src
 
+     Let's /beautify/ org-mode a little bit too, changing some
+     defaults
+
+
+     #+BEGIN_SRC emacs-lisp
+       ;;; Change the ellipsis (default is ...)
+       (setq org-ellipsis " ↴")
+       ;; Change the default bullets
+       (font-lock-add-keywords 'org-mode
+                               '(("^ +\\([-*]\\) "
+                                  (0 (prog1 () (compose-region (match-beginning 1) (match-end 1) "•"))))))
+       ;;; Use org-bullets
+       (use-package org-bullets
+         :config
+         (setq org-bullets-face-name (quote org-bullet-face))
+         (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))
+     #+END_SRC
+
+
      Let's also define the default /todo-keywords/ and the workflow
      between them.