mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-19 13:46:17 +10:00
A starting literate config for Doom Emacs
This commit is contained in:
@@ -52,6 +52,9 @@
|
|||||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||||
(setq display-line-numbers-type t)
|
(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,
|
;; 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!
|
;; change `org-directory'. It must be set before org loads!
|
||||||
|
|
||||||
|
|||||||
52
.config/doom/config.org
Normal file
52
.config/doom/config.org
Normal 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
|
||||||
@@ -191,5 +191,5 @@
|
|||||||
(rss +org) ; emacs as an RSS reader
|
(rss +org) ; emacs as an RSS reader
|
||||||
|
|
||||||
:config
|
:config
|
||||||
;;literate
|
literate
|
||||||
(default +bindings +smartparens))
|
(default +bindings +smartparens))
|
||||||
|
|||||||
Reference in New Issue
Block a user