aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-16 08:41:17 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-16 08:41:17 +0100
commitaf191e7de838c9ad5e78378da5cc5f75df85c129 (patch)
tree00f26f09e6c984447a2bc2f529f0243ebdb0db8d /Emacs/.config/emacs/config.org
parent3145c66a48359c4ec90c17c3ef6b125437404410 (diff)
downloaddotfiles-af191e7de838c9ad5e78378da5cc5f75df85c129.tar.gz
dotfiles-af191e7de838c9ad5e78378da5cc5f75df85c129.tar.bz2
dotfiles-af191e7de838c9ad5e78378da5cc5f75df85c129.zip
(Emacs/config|init)~heavily optimised startup time
Used esup to figure out some points of pain, then fixed them. Also set gc-cons-threshold at start of init.el really high, then reset after finished loading.
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org4
1 files changed, 4 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 130d134..afc4630 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1195,6 +1195,7 @@ copy pasted the majority of this, tweaking it till it felt good. Doom
Emacs was very helpful here.
#+begin_src emacs-lisp
(use-package org
+ :defer t
:init
(setq org-edit-src-content-indentation 0
org-goto-interface 'outline
@@ -1553,6 +1554,7 @@ execution. I don't use SQL currently but whenever I need it it's
there.
#+begin_src emacs-lisp
(use-package sql
+ :defer t
:straight nil
:init
(setq sql-display-sqli-buffer-function nil))
@@ -1760,6 +1762,7 @@ execution of d-mode blocks and alias ~D-mode~ with ~d-mode~.
#+begin_src emacs-lisp
(use-package d-mode
+ :defer t
:straight t
:config
(fset 'D-mode 'd-mode)
@@ -2003,6 +2006,7 @@ Emmet for super speed code writing.
*** HTML Auto insert
#+begin_src emacs-lisp
(use-package web-mode
+ :defer t
:auto-insert
(("\\.html\\'" . "HTML Skeleton")
""