aboutsummaryrefslogtreecommitdiff
path: root/doom.d
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-11-18 22:59:07 +0000
committeroreodave <aryadevchavali1@gmail.com>2019-11-18 22:59:07 +0000
commit2ee914cdfa56212d42383f2d276957f50f85870b (patch)
treee18ac178bfe044ddfc7eedeec4379bb6ba23bd22 /doom.d
parentd80a3b075e29a173387bbb7d6eebb4e68e492760 (diff)
downloaddotfiles-2ee914cdfa56212d42383f2d276957f50f85870b.tar.gz
dotfiles-2ee914cdfa56212d42383f2d276957f50f85870b.tar.bz2
dotfiles-2ee914cdfa56212d42383f2d276957f50f85870b.zip
+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.
Diffstat (limited to 'doom.d')
-rw-r--r--doom.d/config.org10
1 files 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