diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2022-09-08 08:52:00 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2022-09-08 08:52:00 -0400 |
commit | 2fbae114a3e6747346717b144196ad6fd09f11eb (patch) | |
tree | 9e954b26cb14504b36d3641c038da2995b196b5c | |
parent | 546c39ea5441eeb204b6cee60254dfe0d422cb0e (diff) |
Flyspell mode in org
-rw-r--r-- | lisp/org-custom.el | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/lisp/org-custom.el b/lisp/org-custom.el index 584d0fc..066a2d9 100644 --- a/lisp/org-custom.el +++ b/lisp/org-custom.el @@ -26,9 +26,9 @@ `(org-level-5 ((t (,@headline ,@variable-tuple)))) `(org-level-4 ((t (,@headline ,@variable-tuple :height 0.8)))) `(org-level-3 ((t (,@headline ,@variable-tuple :height 0.9)))) - `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.0)))) - `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.1 :weight bold)))) - `(org-document-title ((t (,@headline ,@variable-tuple :height 1.5 :underline t :weight:bold)))))) + `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.0 :weight bold)))) + `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.2 :weight bold)))) + `(org-document-title ((t (,@headline ,@variable-tuple :height 1.3 :weight:bold)))))) (custom-theme-set-faces 'user @@ -44,8 +44,7 @@ '(org-tag ((t (:inherit (shadow fixed-pitch) :weight bold :height 0.8)))) '(org-verbatim ((t (:inherit (shadow fixed-pitch)))))) - (variable-pitch-mode) - (visual-line-mode) + (variable-pitch-mode 1) (require 'org-bullets) (org-bullets-mode 1) @@ -53,7 +52,10 @@ (visual-line-mode 1) (setq org-blank-before-new-entry (quote ((heading . nil) - (plain-list-item . nil)))) + (plain-list-item . nil)))) + + (require 'flyspell) + (flyspell-mode 1) ) (custom-set-variables @@ -64,12 +66,7 @@ '((sequence "TODO" "PROGRESS" "VERIFY" "|" "DONE" "ABANDONED"))) (setq org-todo-keyword-faces - '(("TODO" . "RED") ("PROGRESS" . "royal blue") ("VERIFY" . "#E0A526") ("ABANDONED" . "light gray") ("DONE" . "dark green")) - ) - - -'(org-agenda-files (list org-directory)) -'(org-directory "~/Documents/org") + '(("TODO" . "RED") ("PROGRESS" . "royal blue") ("VERIFY" . "#E0A526") ("ABANDONED" . "light gray") ("DONE" . "dark green"))) (add-hook 'org-mode-hook 'org-custom-hook) |