From 947309922eea9dce0d25afae167d0a63a11b39ba Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 21 Dec 2024 11:43:09 +0200 Subject: emacs: Add org-present. --- .config/emacs/init.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.config/emacs') 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 -- cgit v1.2.3