commit d59cf83528242ac940f08bfcc79283d06c158e61
parent c92705a7284a7e510e184300868578adb6743dfc
Author: Michael Neuper <michael@michaelneuper.com>
Date: Thu, 28 Nov 2024 18:09:18 +0200
rice org mode
Diffstat:
3 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/config.org b/config.org
@@ -298,7 +298,8 @@ Set some org variables.
(setq org-directory "~/Documents/Org"
org-use-property-inheritance t ; fix weird issue with src blocks
org-startup-with-inline-images t
- org-hide-emphasis-markers t)
+ org-hide-emphasis-markers t
+ org-edit-src-content-indentation 0)
#+end_src
Scale org headings.
@@ -337,8 +338,31 @@ Setup LaTeX previews in =org-mode=.
(add-hook 'org-mode-hook #'xenops-mode)
(setq xenops-math-image-scale-factor 1.6
xenops-reveal-on-entry t)
+#+end_src
+**** eye candy
+=org-modern= config modified from [[https://sophiebos.io/posts/beautifying-emacs-org-mode/][https://sophiebos.io/posts/beautifying-emacs-org-mode/]].
+#+begin_src emacs-lisp
+(use-package! org-modern
+ :after org
+ :config
+ (setq
+ org-auto-align-tags t
+ org-tags-column 0
+ org-fold-catch-invisible-edits 'show-and-error
+ org-special-ctrl-a/e t
+ org-insert-heading-respect-content t
+
+ ;; agenda
+ org-agenda-tags-column 0
+ org-agenda-block-separator ?─
+ org-agenda-time-grid
+ '((daily today require-timed)
+ (800 1000 1200 1400 1600 1800 2000)
+ " ┄┄┄┄┄ " "┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄")
+ org-agenda-current-time-string
+ "⭠ now ─────────────────────────────────────────────────")
-; org-roam
+ (global-org-modern-mode))
#+end_src
**** org-roam
Set up =org-roam= and =org-roam-ui= along with their keybindings that have the [[kbd:][<leader> r]] prefix.
diff --git a/init.el b/init.el
@@ -138,7 +138,7 @@
;;nim ; python + lisp at the speed of c
;;nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel
- (org +pretty +roam2) ; organize your plain life in plain text
+ (org +roam2) ; organize your plain life in plain text
;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;graphviz ; diagrams for confusing yourself even more
diff --git a/packages.el b/packages.el
@@ -14,3 +14,4 @@
(package! spacious-padding)
(package! eglot-booster
:recipe (:host github :repo "jdtsmith/eglot-booster"))
+(package! org-modern)