summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-11-15 03:40:39 +0200
committerThanos Apollo <[email protected]>2024-11-15 03:40:39 +0200
commit5c990c2b3b1d8ea1f7d381ad031a3c1440a9f0b8 (patch)
treeaebb8992dd60c5f2dad47657d4c011deb1b94ac2 /.config/emacs
parent8f8747be8e40552dde0fe2e52fb15b4fb325d773 (diff)
emacs: Add org-present
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 1b26af5..35d15c9 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -400,6 +400,19 @@
org-roam-ui-update-on-save t
org-roam-ui-open-on-start t))
+(use-package org-present
+ :vc (:url "https://github.com/rlister/org-present")
+ :hook ((org-present-mode . (lambda ()
+ (org-present-big)
+ (org-display-inline-images)
+ (org-present-hide-cursor)
+ (org-present-read-only)))
+ (org-present-mode-quit . (lambda ()
+ (org-present-small)
+ (org-remove-inline-images)
+ (org-present-show-cursor)
+ (org-present-read-write)))))
+
(unless (or is-phone is-uranus)
(use-package modus-themes
:vc (:url "https://github.com/protesilaos/modus-themes")