Fine-tune Org mode config
This commit is contained in:
		@@ -3197,8 +3197,24 @@ This is mostly needed for customizing faces.
 | 
				
			|||||||
This is a big one; I use a lot of customisation here.
 | 
					This is a big one; I use a lot of customisation here.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#+BEGIN_SRC emacs-lisp
 | 
					#+BEGIN_SRC emacs-lisp
 | 
				
			||||||
 | 
					(defun gpolonkai/setup-org-mode ()
 | 
				
			||||||
 | 
					  (org-indent-mode)
 | 
				
			||||||
 | 
					  (variable-pitch-mode 1)
 | 
				
			||||||
 | 
					  (auto-fill-mode 0)
 | 
				
			||||||
 | 
					  (visual-line-mode 1))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(use-package org
 | 
					(use-package org
 | 
				
			||||||
  :demand
 | 
					  :demand
 | 
				
			||||||
 | 
					  :custom-face
 | 
				
			||||||
 | 
					  (org-block ((t (:inherit fixed-pitch))))
 | 
				
			||||||
 | 
					  (org-code ((t (:inherit (shadow fixed-pitch)))))
 | 
				
			||||||
 | 
					  (org-indent ((t (:inherit (org-hide fixed-pitch)))))
 | 
				
			||||||
 | 
					  (org-verbatim ((t (:inherit (shadow fixed-pitch)))))
 | 
				
			||||||
 | 
					  (org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
 | 
				
			||||||
 | 
					  (org-meta-line ((t (:inherit (font-lock-comment-face fixed-pitch)))))
 | 
				
			||||||
 | 
					  (org-checkbox ((t (:inherit fixed-pitch))))
 | 
				
			||||||
 | 
					  (org-table ((t (:inherit (shadow fixed-pitch)))))
 | 
				
			||||||
 | 
					  (org-_drawer ((t (:inherit (shadow fixed-pitch)))))
 | 
				
			||||||
  :init
 | 
					  :init
 | 
				
			||||||
  (require 'xdg-paths)
 | 
					  (require 'xdg-paths)
 | 
				
			||||||
  (defface org-checkbox-todo-text
 | 
					  (defface org-checkbox-todo-text
 | 
				
			||||||
@@ -3247,7 +3263,8 @@ This is a big one; I use a lot of customisation here.
 | 
				
			|||||||
  (org-babel-do-load-languages
 | 
					  (org-babel-do-load-languages
 | 
				
			||||||
   'org-babel-load-languages
 | 
					   'org-babel-load-languages
 | 
				
			||||||
   '((python . t)))
 | 
					   '((python . t)))
 | 
				
			||||||
 | 
					  ;; Track habits
 | 
				
			||||||
 | 
					  (require 'org-habit)
 | 
				
			||||||
  :custom
 | 
					  :custom
 | 
				
			||||||
  (org-log-into-drawer t)
 | 
					  (org-log-into-drawer t)
 | 
				
			||||||
  (org-ellipsis "…#")
 | 
					  (org-ellipsis "…#")
 | 
				
			||||||
@@ -3335,6 +3352,7 @@ This is a big one; I use a lot of customisation here.
 | 
				
			|||||||
  :hook
 | 
					  :hook
 | 
				
			||||||
  (ediff-select . f-ediff-org-unfold-tree-element)
 | 
					  (ediff-select . f-ediff-org-unfold-tree-element)
 | 
				
			||||||
  (ediff-unselect . f-ediff-org-fold-tree)
 | 
					  (ediff-unselect . f-ediff-org-fold-tree)
 | 
				
			||||||
 | 
					  (org-mode .  gpolonkai/setup-org-mode)
 | 
				
			||||||
  :bind
 | 
					  :bind
 | 
				
			||||||
  (:map gpolonkai/pers-map
 | 
					  (:map gpolonkai/pers-map
 | 
				
			||||||
	("a" . gpolonkai/org-agenda-list)
 | 
						("a" . gpolonkai/org-agenda-list)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user