emacs: config for org-tree-slide

This commit is contained in:
Hoang Nguyen 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!
;; '(mode-line :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
(after! emojify
@ -110,10 +112,27 @@
;; Org mode
(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-default-notes-file (expand-file-name "notes.org" org-directory)
org-journal-dir "~/Documents/Org/Journal/"
org-ellipsis ""
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
(after! flyspell
@ -121,7 +140,7 @@
;; Asynchronous bytecode compilation
(use-package! async
:defer-incrementally t
:defer t
:init
(dired-async-mode 1)
(async-bytecomp-package-mode 1)

View File

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

View File

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