Overall cleanup for emacs, trimmed alot to get to basics.
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
;;; Code:
|
||||
|
||||
;; Styled stars, bullets, tags, tables and blocks.
|
||||
(use-package org-modern
|
||||
:hook (org-mode . org-modern-mode))
|
||||
;; (use-package org-modern
|
||||
;; :hook (org-mode . org-modern-mode))
|
||||
|
||||
(setq org-directory "~/Projects/notebook")
|
||||
(setq org-startup-indented t ; visual indent per level, no real spaces
|
||||
@@ -29,17 +29,6 @@
|
||||
(add-hook 'org-mode-hook #'visual-line-mode) ; wrap at window edge
|
||||
(add-hook 'org-mode-hook (lambda () (display-line-numbers-mode -1))) ; prose reads better without
|
||||
|
||||
;; doom-themes' own Org fontification fixes (blocks, headings).
|
||||
(doom-themes-org-config)
|
||||
|
||||
;; Heading sizes; 'user survives theme reloads, same as in init.el.
|
||||
(doom-themes-set-faces 'user
|
||||
'(org-document-title :height 1.3 :weight 'bold)
|
||||
'(org-level-1 :height 1.2 :weight 'bold)
|
||||
'(org-level-2 :height 1.15 :weight 'bold)
|
||||
'(org-level-3 :height 1.1 :weight 'bold)
|
||||
'(org-level-4 :height 1.0 :weight 'bold))
|
||||
|
||||
(defun my/notes-index ()
|
||||
"Open the notes index."
|
||||
(interactive)
|
||||
|
||||
Reference in New Issue
Block a user