dotfiles/emacs/config.el

56 lines
2.2 KiB
EmacsLisp
Raw Normal View History

;;; $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")
2023-07-25 10:25:40 +00:00
(setq doom-font (font-spec :family "Iosevka" :size 18))
2022-05-24 11:02:00 +00:00
(setq doom-theme 'doom-material-dark)
(setq +file-templates-dir (expand-file-name "templates" doom-user-dir)
+wiki-directory "~/Documents/Writings/wiki"
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
(after! tex
(TeX-engine-set "luatex")
(add-to-list 'safe-local-variable-values
'(TeX-command-extra-options . "-shell-escape")))
2020-11-02 14:46:43 +00:00
(after! org
(setq
org-capture-templates `(
("i" "inbox" entry
2021-05-06 06:28:37 +00:00
(file ,(f-join org-directory "inbox.org"))
,(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"))
,(concat "* PROJ %?\n"
"- [ ] %?"))
("c" "org-protocol-capture" entry
2021-05-06 06:28:37 +00:00
(file ,(f-join org-directory "inbox.org"))
"* TODO [[%:link][%:description]]\n%x"
: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"))
;;; config.el ends here