A starting literate config for Doom Emacs

This commit is contained in:
Derek Taylor
2025-09-06 13:25:07 -05:00
parent 27866c0c7d
commit 194b5da8fd
3 changed files with 56 additions and 1 deletions

View File

@@ -52,6 +52,9 @@
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t)
(map! :leader
:desc "Comment line" "-" #'comment-line)
;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!

52
.config/doom/config.org Normal file
View File

@@ -0,0 +1,52 @@
#+title: Config
* Table of Contents :toc:
- [[#doom-settings][Doom Settings]]
- [[#org][Org]]
- [[#other-stuff][Other Stuff]]
* Doom Settings
#+begin_src emacs-lisp
(setq doom-theme 'doom-one)
(setq doom-font (font-spec :family "JetBrains Mono" :size 15))
#+end_src
* Org
#+begin_src emacs-lisp
(custom-theme-set-faces!
'doom-one
'(org-level-8 :inherit outline-3 :height 1.0)
'(org-level-7 :inherit outline-3 :height 1.0)
'(org-level-6 :inherit outline-3 :height 1.1)
'(org-level-5 :inherit outline-3 :height 1.2)
'(org-level-4 :inherit outline-3 :height 1.3)
'(org-level-3 :inherit outline-3 :height 1.4)
'(org-level-2 :inherit outline-2 :height 1.5)
'(org-level-1 :inherit outline-1 :height 1.6)
'(org-document-title :height 1.8 :bold t :underline nil))
(setq org-directory "~/nc/Org/")
(setq org-modern-table-vertical 1)
(setq org-modern-table t)
(add-hook 'org-mode-hook #'hl-todo-mode)
#+end_src
* Other Stuff
#+begin_src emacs-lisp
(setq display-line-numbers-type t)
(map! :leader
:desc "Comment line" "-" #'comment-line)
;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!
(setq confirm-kill-emacs nil)
(setq initial-buffer-choice 'eshell)
#+end_src

View File

@@ -191,5 +191,5 @@
(rss +org) ; emacs as an RSS reader
:config
;;literate
literate
(default +bindings +smartparens))