Add darkroom config to use-package

This commit is contained in:
Evie Litherland-Smith 2023-11-13 14:41:28 +00:00
parent b87bc76b4d
commit 18c2a2ddfc
2 changed files with 11 additions and 0 deletions

View file

@ -260,6 +260,10 @@
:ensure t :ensure t
:config (setq initial-buffer-choice 'dashboard-open)) :config (setq initial-buffer-choice 'dashboard-open))
(use-package darkroom
:ensure t
:bind (("C-c d" . darkroom-mode)))
(setq org-directory "~/Org" (setq org-directory "~/Org"
org-default-notes-file (expand-file-name "notes.org" org-directory) org-default-notes-file (expand-file-name "notes.org" org-directory)
org-pretty-entities-include-sub-superscripts t org-pretty-entities-include-sub-superscripts t

View file

@ -297,6 +297,13 @@
:ensure t :ensure t
:config (setq initial-buffer-choice 'dashboard-open)) :config (setq initial-buffer-choice 'dashboard-open))
#+end_src #+end_src
** Darkroom
#+begin_src emacs-lisp
(use-package darkroom
:ensure t
:bind (("C-c d" . darkroom-mode)))
#+end_src
* Org-mode * Org-mode
For reference information, see [[https://orgmode.com][Org-mode website]] For reference information, see [[https://orgmode.com][Org-mode website]]