emacs: config for org-tree-slide

This commit is contained in:
FollieHiyuki 2021-02-28 16:55:48 +03:00
parent cd8d9fb172
commit dccba0466e
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
3 changed files with 32 additions and 12 deletions

View File

@ -19,7 +19,9 @@
;; (custom-set-faces! ;; (custom-set-faces!
;; '(mode-line :height 0.97) ;; '(mode-line :height 0.97)
;; '(mode-line-inactive :height 0.97)) ;; '(mode-line-inactive :height 0.97))
(setq doom-modeline-unicode-fallback t)) (setq doom-modeline-major-mode-icon t
doom-modeline-major-mode-color-icon t
doom-modeline-unicode-fallback t))
;; Emoji ;; Emoji
(after! emojify (after! emojify
@ -110,10 +112,27 @@
;; Org mode ;; Org mode
(setq org-directory "~/Documents/Org/" (setq org-directory "~/Documents/Org/"
org-journal-dir "~/Documents/Org/journal/"
org-noter-notes-search-path '("~/Documents/Org/notes/")
org-agenda-files '("~/Documents/Org/agenda.org") org-agenda-files '("~/Documents/Org/agenda.org")
org-default-notes-file (expand-file-name "notes.org" org-directory) org-default-notes-file (expand-file-name "notes.org" org-directory)
org-journal-dir "~/Documents/Org/Journal/" org-ellipsis ""
org-hide-emphasis-markers t) org-hide-emphasis-markers t)
(add-hook 'org-mode-hook (lambda () (org-superstar-mode 1)))
(use-package! org-tree-slide
:commands org-tree-slide-mode
:hook ((org-tree-slide-play . (lambda () (display-line-numbers-mode -1)))
(org-tree-slide-stop . (lambda () (display-line-numbers-mode +1))))
:config
;;(org-tree-slide-presentation-profile)
(advice-remove 'org-tree-slide--display-tree-with-narrow #'+org-present--narrow-to-subtree-a)
(setq +org-present-text-scale 2
org-tree-slide-skip-outline-level 0
org-tree-slide-modeline-display nil
org-tree-slide-header t
org-tree-slide-slide-in-effect t
org-tree-slide-activate-message "Presentation starto..."
org-tree-slide-deactivate-message "Thanks for listening!"))
;; Spell checker ;; Spell checker
(after! flyspell (after! flyspell
@ -121,7 +140,7 @@
;; Asynchronous bytecode compilation ;; Asynchronous bytecode compilation
(use-package! async (use-package! async
:defer-incrementally t :defer t
:init :init
(dired-async-mode 1) (dired-async-mode 1)
(async-bytecomp-package-mode 1) (async-bytecomp-package-mode 1)

View File

@ -26,7 +26,7 @@
;;ido ; the other *other* search engine... ;;ido ; the other *other* search engine...
(ivy ; a search engine for love and life (ivy ; a search engine for love and life
+fuzzy +fuzzy
+prescient ;;+prescient
+icons) +icons)
:ui :ui
@ -112,7 +112,7 @@
(magit +forge) ; a git porcelain for Emacs (magit +forge) ; a git porcelain for Emacs
make ; run make tasks from Emacs make ; run make tasks from Emacs
;;pass ; password manager for nerds ;;pass ; password manager for nerds
;;pdf ; pdf enhancements pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders ;;prodigy ; FIXME managing external services & code builders
rgb ; creating color strings rgb ; creating color strings
;;taskrunner ; taskrunner for all your projects ;;taskrunner ; taskrunner for all your projects
@ -128,11 +128,11 @@
;;agda ; types of types of types of types... ;;agda ; types of types of types of types...
(cc +lsp) ; C/C++/Obj-C madness (cc +lsp) ; C/C++/Obj-C madness
;;clojure ; java with a lisp ;;clojure ; java with a lisp
;;common-lisp ; if you've seen one lisp, you've seen them all common-lisp ; if you've seen one lisp, you've seen them all
;;coq ; proofs-as-programs ;;coq ; proofs-as-programs
;;crystal ; ruby at the speed of c ;;crystal ; ruby at the speed of c
;;csharp ; unity, .NET, and mono shenanigans ;;csharp ; unity, .NET, and mono shenanigans
;;data ; config/data formats data ; config/data formats
;;(dart +flutter) ; paint ui and not much else ;;(dart +flutter) ; paint ui and not much else
;;elixir ; erlang done right ;;elixir ; erlang done right
;;elm ; care for a cup of TEA? ;;elm ; care for a cup of TEA?
@ -143,8 +143,8 @@
;;fsharp ; ML stands for Microsoft's Language ;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3 ;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for ;;gdscript ; the language you waited for
;;(go +lsp) ; the hipster dialect (go +lsp) ; the hipster dialect
;;(haskell +dante) ; a language that's lazier than I am (haskell +dante) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python ;;hy ; readability of scheme w/ speed of python
;;idris ; ;;idris ;
json ; At least it ain't XML json ; At least it ain't XML
@ -166,13 +166,13 @@
nix ; I hereby declare "nix geht mehr!" nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel ;;ocaml ; an objective camel
(org ; organize your plain life in plain text (org ; organize your plain life in plain text
;;+pretty
+dragndrop +dragndrop
;;+gnuplot ;;+gnuplot
;;+jupyter ;;+jupyter
+journal +journal
+present +present
+roam +roam
+noter
+pandoc) +pandoc)
;;php ; perl's insecure younger brother ;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more ;;plantuml ; diagrams for confusing people more
@ -186,10 +186,10 @@
;;qt ; the 'cutest' gui framework ever ;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs ;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6 ;;raku ; the artist formerly known as perl6
;;rest ; Emacs as a REST client rest ; Emacs as a REST client
;;rst ; ReST in peace ;;rst ; ReST in peace
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() (rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good ;;scala ; java, but good
;;scheme ; a fully conniving family of lisps ;;scheme ; a fully conniving family of lisps
(sh +fish) ; she sells {ba,z,fi}sh shells on the C xor (sh +fish) ; she sells {ba,z,fi}sh shells on the C xor

View File

@ -64,6 +64,7 @@
;; Additional modes ;; Additional modes
(package! vimrc-mode) (package! vimrc-mode)
(package! org-superstar) ;; Don't need org-fancy-priorities from +pretty
;; Improvements ;; Improvements
(package! magit-delta) (package! magit-delta)