From 2ee914cdfa56212d42383f2d276957f50f85870b Mon Sep 17 00:00:00 2001 From: oreodave Date: Mon, 18 Nov 2019 22:59:07 +0000 Subject: +load (after! macros) to org and core-keybinds Load everything lazily!!! Apparently not even the core stuff is needed all the time, meaning you could lazy load these critical things like the core keybinds, or the org directory. Furthermore, during the load process you can leave it till last. --- doom.d/config.org | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doom.d/config.org b/doom.d/config.org index b3df250..435f18a 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -9,9 +9,10 @@ possible. It is currently my main editor overall, literally overtaking my life. Setting up variables and basic stuff that doesn't require a lot of work. ** Doom Variables #+BEGIN_SRC elisp -(setq doom-localleader-key ",") -(setq doom-font (font-spec :family "Hack" :size 19)) -(setq doom-theme 'doom-gruvbox) +(after! core-keybinds + (setq doom-localleader-key ",") + (setq doom-font (font-spec :family "Hack" :size 19)) + (setq doom-theme 'doom-gruvbox)) #+END_SRC - Set the doom localleader to "," because it's faster - Using the font [[https://sourcefoundry.org/hack/][Hack]] with Fira code ligatures @@ -37,7 +38,8 @@ Some quality of life things that I couldn't really put in one category - I like battery mode ** Org directory #+BEGIN_SRC elisp -(setq org-directory "~/Text") +(after! org + (setq org-directory "~/Text")) #+END_SRC Set the org directory to Text. ** Search providers -- cgit v1.2.3-13-gbd6f