diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-24 03:41:32 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-24 03:41:32 +0530 |
commit | 617b849be18420eeb32e599acbfd63ca0bdee020 (patch) | |
tree | b0c47cc13a775f28c49258a118099fdea7fb52e4 /Emacs/.config/emacs | |
parent | a01cba5589368b6b2c3946d1286e8b295ab3403d (diff) | |
download | dotfiles-617b849be18420eeb32e599acbfd63ca0bdee020.tar.gz dotfiles-617b849be18420eeb32e599acbfd63ca0bdee020.tar.bz2 dotfiles-617b849be18420eeb32e599acbfd63ca0bdee020.zip |
(Emacs/app)+some defer statements to make bootup quicker
Cuts a second off the time to bootup.
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/app.org | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Emacs/.config/emacs/app.org b/Emacs/.config/emacs/app.org index 5b94a9d..1cda909 100644 --- a/Emacs/.config/emacs/app.org +++ b/Emacs/.config/emacs/app.org @@ -409,7 +409,7 @@ Bind some evil-like movements for easy shell usage, and a toggle function to pull up the eshell quickly. #+begin_src emacs-lisp (use-package eshell - :commands +shell/toggle-eshell + :defer t :general (shell-leader "t" #'eshell) @@ -453,6 +453,7 @@ changes that haven't been committed). #+begin_src emacs-lisp (use-package eshell + :defer t :config (defun +eshell/--git-get-remote-status () (let* ((branch-status (split-string @@ -539,7 +540,7 @@ using. So here's also a command for opening eshell with the current directory. #+begin_src emacs-lisp (use-package eshell - :straight nil + :defer t :general (shell-leader "T" #'+eshell/current-buffer) @@ -875,6 +876,7 @@ and integrates slickly into image-dired. Of course, * ERC #+begin_src emacs-lisp (use-package erc + :defer t :init (setq erc-server "irc.libera.chat" erc-nick "oreodave" |