From 64628919a5fcb9f12d82daa833d6f951ef06ec89 Mon Sep 17 00:00:00 2001 From: Amolith Date: Wed, 24 Apr 2024 17:39:55 -0400 Subject: [PATCH] reformat emacs config --- dot_config/doom/config.el.tmpl | 60 +++++++++++++++++----------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/dot_config/doom/config.el.tmpl b/dot_config/doom/config.el.tmpl index c162502dd8d0df106222098c5712ba4f12dc8b95..7a30b8e24eee488b25edc4d9d8903d8f3a950cd8 100644 --- a/dot_config/doom/config.el.tmpl +++ b/dot_config/doom/config.el.tmpl @@ -19,10 +19,10 @@ (setq display-line-numbers-type t) (use-package smooth-scrolling - :ensure t - :config - (smooth-scrolling-mode 1) - (setq smooth-scroll-margin 20)) + :ensure t + :config + (smooth-scrolling-mode 1) + (setq smooth-scroll-margin 20)) (global-prettify-symbols-mode t) @@ -47,7 +47,7 @@ (setq org-directory "~/Org/") (use-package org-bullets - :init + :init (add-hook 'org-mode-hook 'org-bullets-mode)) (setq org-ellipsis " ⤵") @@ -66,13 +66,13 @@ (setq org-export-with-smart-quotes t) (use-package helm-bibtex - :custom + :custom (helm-bibtex-bibliography '("~/Documents/citations.bib")) (reftex-default-bibliography '("~/Documents/citations.bib")) (bibtex-completion-pdf-field "file") :hook (Tex . (lambda () (define-key Tex-mode-map "\C-ch" 'helm-bibtex)))) (use-package org-ref - :custom + :custom (org-ref-default-bibliography "~/Documents/citations.bib")) (defun org-export-latex-no-toc (depth) (when depth @@ -110,7 +110,7 @@ prose-modes)) (use-package flyspell - :config + :config (dolist (hook prose-mode-hooks) (add-hook hook 'flyspell-mode))) @@ -118,13 +118,13 @@ (add-hook hook 'turn-on-auto-fill)) (use-package markdown-mode - :commands gfm-mode - :mode (("\\.md$" . gfm-mode)) - :config - (custom-set-faces - '(markdown-pre-face ((t nil)))) - (setq markdown-command "pandoc --standalone --mathjax --from=markdown" - markdown-fontify-code-blocks-natively t)) + :commands gfm-mode + :mode (("\\.md$" . gfm-mode)) + :config + (custom-set-faces + '(markdown-pre-face ((t nil)))) + (setq markdown-command "pandoc --standalone --mathjax --from=markdown" + markdown-fontify-code-blocks-natively t)) (defun amo/append-to-path (path) (setenv "PATH" (concat (getenv "PATH") ":" path)) @@ -179,18 +179,18 @@ (magit-refresh))) (use-package edit-server - :ensure t - :commands edit-server-start - :init (if after-init-time - (edit-server-start) - (add-hook 'after-init-hook - #'(lambda() (edit-server-start)))) - :config (setq edit-server-new-frame-alist - '((name . "Edit with Emacs FRAME") - (top . 200) - (left . 200) - (width . 80) - (height . 25) - (minibuffer . t) - (menu-bar-lines . t) - (window-system . x)))) + :ensure t + :commands edit-server-start + :init (if after-init-time + (edit-server-start) + (add-hook 'after-init-hook + #'(lambda() (edit-server-start)))) + :config (setq edit-server-new-frame-alist + '((name . "Edit with Emacs FRAME") + (top . 200) + (left . 200) + (width . 80) + (height . 25) + (minibuffer . t) + (menu-bar-lines . t) + (window-system . x))))