about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-09-19 13:22:44 -0500
committerCase Duckworth2020-09-19 13:22:44 -0500
commit57eefe44e50e4eb7b090ed05dfa21fe3fbebc1f2 (patch)
tree26ec3dde66db811be0a29d3ed9cf5367cbd89ee6
parentCorrect version-control setting (diff)
downloademacs-57eefe44e50e4eb7b090ed05dfa21fe3fbebc1f2.tar.gz
emacs-57eefe44e50e4eb7b090ed05dfa21fe3fbebc1f2.zip
Configure org-mode
-rw-r--r--init.el27
1 files changed, 27 insertions, 0 deletions
diff --git a/init.el b/init.el index ec5689e..4f355fd 100644 --- a/init.el +++ b/init.el
@@ -578,7 +578,34 @@
578 (circe-originator-face ((t (:weight bold)))) 578 (circe-originator-face ((t (:weight bold))))
579 (circe-prompt-face ((t (:inherit 'circe-my-message-face))))) 579 (circe-prompt-face ((t (:inherit 'circe-my-message-face)))))
580 580
581;;; eshell
582
581(use-package eshell-syntax-highlighting 583(use-package eshell-syntax-highlighting
582 :after esh-mode 584 :after esh-mode
583 :config 585 :config
584 (eshell-syntax-highlighting-global-mode 1)) 586 (eshell-syntax-highlighting-global-mode 1))
587
588;;; org-mode
589(use-package org
590 :init
591 (setq org-startup-indented t)
592 (setq org-src-tab-acts-natively t)
593 (setq org-hide-emphasis-markers t)
594 (setq org-fontify-done-headline t)
595 (setq org-hide-leading-stars t)
596 (setq org-pretty-entities t)
597
598 (font-lock-add-keywords 'org-mode
599 '(("^ *\\([-+*]\\) "
600 (0 (prog1 () (compose-region (match-beginning 1)
601 (match-end 1)
602 "•"))))))
603 :hook
604 (org-mode-hook . (lambda ()
605 (variable-pitch-mode 1)
606 (visual-line-mode)
607 (visual-fill-column-mode))))
608
609(use-package org-bullets
610 :hook
611 (org-mode-hook . (lambda () (org-bullets-mode 1))))