(Emacs/app)+some defer statements to make bootup quicker

Cuts a second off the time to bootup.
This commit is contained in:
2024-04-24 03:41:32 +05:30
parent a01cba5589
commit 617b849be1

View File

@@ -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"