summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-12-21 11:43:09 +0200
committerThanos Apollo <[email protected]>2024-12-21 11:43:09 +0200
commit947309922eea9dce0d25afae167d0a63a11b39ba (patch)
tree8f36dadf744f1696f9c729560554dabc1ac8bb43 /.config/emacs
parent5d5430eacac6e99704a415db5ec27e158465f424 (diff)
emacs: Add org-present.
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index e8e184f..7118c44 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -255,6 +255,18 @@
("C-c M-t" . org-todo)
("C-c RET" . org-table-hline-and-move)
("C-M-i" . completion-at-point))))
+
+(use-package 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)))))
;; (completion-styles-alist )
;; Export