Update
This commit is contained in:
@@ -9,17 +9,57 @@
|
||||
:defer
|
||||
:ensure `(org :repo "https://code.tecosaur.net/tec/org-mode.git/"
|
||||
:branch "dev")
|
||||
:hook (org-mode . org-modern-mode)
|
||||
;; :hook (org-mode . org-indent-mode)
|
||||
:config
|
||||
;; (org-capture-init)
|
||||
(add-to-list 'org-modules 'org-habit)
|
||||
(setq org-modules '(org-habit))
|
||||
(setq org-directory "~/org/")
|
||||
(add-to-list 'org-agenda-files "~/org")
|
||||
)
|
||||
|
||||
(use-package org-contrib)
|
||||
|
||||
(with-eval-after-load 'org
|
||||
(setq org-highlight-latex-and-related '(native script entities)))
|
||||
|
||||
(use-package org-modern
|
||||
:hook (org-mode . org-modern-mode)
|
||||
:hook (org-agenda-finalize . org-modern-agenda)
|
||||
:init
|
||||
(with-eval-after-load 'org
|
||||
(setq org-hide-emphasis-markers t
|
||||
org-pretty-entities t))
|
||||
:config
|
||||
(setq org-modern-table nil))
|
||||
(use-package org-appear
|
||||
:defer)
|
||||
|
||||
(use-package hl-todo
|
||||
:hook (prog-mode . hl-todo-mode)
|
||||
:hook (yaml-mode . hl-todo-mode)
|
||||
:config
|
||||
(setq hl-todo-highlight-punctuation ":"
|
||||
hl-todo-keyword-faces
|
||||
'(;; For reminders to change or add something at a later date.
|
||||
("TODO" warning bold)
|
||||
;; For code (or code paths) that are broken, unimplemented, or slow,
|
||||
;; and may become bigger problems later.
|
||||
("FIXME" error bold)
|
||||
;; For code that needs to be revisited later, either to upstream it,
|
||||
;; improve it, or address non-critical issues.
|
||||
("REVIEW" font-lock-keyword-face bold)
|
||||
;; For code smells where questionable practices are used
|
||||
;; intentionally, and/or is likely to break in a future update.
|
||||
("HACK" font-lock-constant-face bold)
|
||||
;; For sections of code that just gotta go, and will be gone soon.
|
||||
;; Specifically, this means the code is deprecated, not necessarily
|
||||
;; the feature it enables.
|
||||
("DEPRECATED" font-lock-doc-face bold)
|
||||
;; Extra keywords commonly found in the wild, whose meaning may vary
|
||||
;; from project to project.
|
||||
("NOTE" success bold)
|
||||
("BUG" error bold)
|
||||
("XXX" font-lock-constant-face bold))))
|
||||
|
||||
(use-package org-latex-preview
|
||||
:defer
|
||||
@@ -55,6 +95,7 @@
|
||||
|
||||
(use-package org-roam
|
||||
:ensure t
|
||||
:defer
|
||||
:custom
|
||||
(org-roam-directory (file-truename "~/org/roam"))
|
||||
:bind (("C-c n l" . org-roam-buffer-toggle)
|
||||
@@ -71,6 +112,7 @@
|
||||
;; If using org-roam-protocol
|
||||
(require 'org-roam-protocol))
|
||||
|
||||
(use-package org-roam-ui)
|
||||
(use-package org-roam-ui
|
||||
:defer t)
|
||||
|
||||
(provide 'init-org)
|
||||
|
||||
Reference in New Issue
Block a user