From 617b849be18420eeb32e599acbfd63ca0bdee020 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 24 Apr 2024 03:41:32 +0530 Subject: (Emacs/app)+some defer statements to make bootup quicker Cuts a second off the time to bootup. --- Emacs/.config/emacs/app.org | 6 ++++-- 1 file 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" -- cgit v1.2.3-13-gbd6f