diff options
author | Adrian Kummerlaender | 2021-09-05 22:16:00 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2021-09-05 22:16:00 +0200 |
commit | 894df72dc633e781392681a0331085c3000ade5a (patch) | |
tree | f3b6d2682ed61ed08066b56f970cb3cc9c6cc96c | |
parent | 296f44e98f2bb310c937e9ef1137497a67faf351 (diff) | |
download | nixos_home-894df72dc633e781392681a0331085c3000ade5a.tar nixos_home-894df72dc633e781392681a0331085c3000ade5a.tar.gz nixos_home-894df72dc633e781392681a0331085c3000ade5a.tar.bz2 nixos_home-894df72dc633e781392681a0331085c3000ade5a.tar.lz nixos_home-894df72dc633e781392681a0331085c3000ade5a.tar.xz nixos_home-894df72dc633e781392681a0331085c3000ade5a.tar.zst nixos_home-894df72dc633e781392681a0331085c3000ade5a.zip |
Add org-present for off-the-cuff presentations
-rw-r--r-- | gui/conf/init.el | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el index 971d520..0439803 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -301,6 +301,23 @@ :custom (org-re-reveal-revealjs-version "4")) +(use-package org-present + :ensure t + :config + (evil-make-overriding-map org-present-mode-keymap 'normal) + (add-hook 'org-present-mode-hook + (lambda () + (org-present-big) + (evil-normalize-keymaps))) + (add-hook 'org-present-mode-quit-hook + (lambda () + (org-present-small))) + :bind + (:map org-present-mode-keymap + ("<right>" . org-present-next) + ("<left>" . org-present-prev) + ("q" . org-present-quit))) + (use-package evil-org :ensure t :config |