2020-04-29 15:58:14 +00:00
|
|
|
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
|
|
|
|
|
|
|
|
;; Place your private configuration here! Remember, you do not need to run 'doom
|
|
|
|
;; sync' after modifying this file!
|
|
|
|
(setq user-full-name "Gabriel Arazas"
|
2023-07-25 10:25:40 +00:00
|
|
|
user-mail-address "foodogsquared@foodogsquared.one")
|
2020-04-29 15:58:14 +00:00
|
|
|
|
2023-07-25 10:25:40 +00:00
|
|
|
(setq doom-font (font-spec :family "Iosevka" :size 18))
|
2020-04-29 15:58:14 +00:00
|
|
|
|
2022-05-24 11:02:00 +00:00
|
|
|
(setq doom-theme 'doom-material-dark)
|
2020-04-29 15:58:14 +00:00
|
|
|
|
2022-01-11 14:19:46 +00:00
|
|
|
(setq org-directory "~/library/writings/wiki"
|
|
|
|
org-id-link-to-org-use-id t
|
|
|
|
+file-templates-dir (expand-file-name "templates" doom-private-dir)
|
|
|
|
+wiki-directory "~/library/writings/wiki"
|
|
|
|
org-export-coding-system 'utf-8
|
|
|
|
|
|
|
|
image-use-external-converter t
|
|
|
|
org-startup-with-inline-images t
|
2022-04-06 02:49:18 +00:00
|
|
|
org-roam-node-display-template
|
|
|
|
(format "${doom-hierarchy:*} %s %s %s"
|
|
|
|
(propertize "${doom-type:12}" 'face 'font-lock-keyword-face)
|
|
|
|
(propertize "${doom-tags:12}" 'face 'org-tag)
|
|
|
|
(propertize "${file:30}" 'face 'font-lock-builtin-face))
|
2022-01-11 14:19:46 +00:00
|
|
|
|
|
|
|
global-display-line-numbers-mode t
|
2021-05-27 11:48:08 +00:00
|
|
|
display-line-numbers-type 'relative
|
2022-11-17 03:18:49 +00:00
|
|
|
projectile-project-search-path '("~/library/projects/software"
|
|
|
|
"~/library/projects/packages"
|
|
|
|
"~/library/writings"
|
|
|
|
"~/library/projects/learning"))
|
2021-05-27 11:48:08 +00:00
|
|
|
|
|
|
|
(add-to-list 'org-modules 'org-habit)
|
|
|
|
(add-to-list 'org-modules 'org-checklist)
|
2021-05-07 00:43:56 +00:00
|
|
|
|
2020-06-01 15:31:18 +00:00
|
|
|
(after! tex
|
|
|
|
(TeX-engine-set "luatex")
|
|
|
|
(add-to-list 'safe-local-variable-values
|
2020-06-02 14:53:56 +00:00
|
|
|
'(TeX-command-extra-options . "-shell-escape")))
|
|
|
|
|
2020-11-02 14:46:43 +00:00
|
|
|
(after! org
|
|
|
|
(setq
|
2021-04-12 12:03:19 +00:00
|
|
|
org-capture-templates `(
|
2021-05-03 03:38:31 +00:00
|
|
|
("i" "inbox" entry
|
2021-05-06 06:28:37 +00:00
|
|
|
(file ,(f-join org-directory "inbox.org"))
|
2021-05-03 03:38:31 +00:00
|
|
|
,(concat "* TODO %?\n"
|
|
|
|
"entered on %<%F %T %:z>"))
|
|
|
|
|
|
|
|
("p" "project" entry
|
2021-05-06 06:28:37 +00:00
|
|
|
(file ,(f-join org-directory "projects.org"))
|
2021-05-03 03:38:31 +00:00
|
|
|
,(concat "* PROJ %?\n"
|
|
|
|
"- [ ] %?"))
|
|
|
|
|
|
|
|
("c" "org-protocol-capture" entry
|
2021-05-06 06:28:37 +00:00
|
|
|
(file ,(f-join org-directory "inbox.org"))
|
2021-05-03 03:38:31 +00:00
|
|
|
"* TODO [[%:link][%:description]]\n%x"
|
2021-06-08 14:09:54 +00:00
|
|
|
:immediate-finish t))))
|
|
|
|
|
2021-05-27 11:48:08 +00:00
|
|
|
;; Load a custom configuration for muh wiki.
|
|
|
|
(load-file (f-join +wiki-directory "config.el"))
|
2021-04-12 12:03:19 +00:00
|
|
|
;;; config.el ends here
|