home: emacs some more changes
- Fix benchmark-deactivate on init - defer loading aidermacs and gptel - also set evil-want-keybinding to nil: https://github.com/emacs-evil/evil-collection/issues/6
This commit is contained in:
@@ -58,8 +58,7 @@
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package benchmark-init
|
(use-package benchmark-init
|
||||||
:config
|
:config
|
||||||
;; To disable collection of benchmark data after init is done.
|
(add-hook 'after-init-hook 'benchmark-init/deactivate) )
|
||||||
:init (benchmark-init/deactivate))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Visual packages
|
** Visual packages
|
||||||
@@ -139,6 +138,7 @@ Consult
|
|||||||
(use-package evil
|
(use-package evil
|
||||||
:init
|
:init
|
||||||
(setq-default evil-shift-width 2)
|
(setq-default evil-shift-width 2)
|
||||||
|
(setq evil-want-keybinding nil)
|
||||||
:config
|
:config
|
||||||
(evil-set-initial-state 'vterm-mode 'insert)
|
(evil-set-initial-state 'vterm-mode 'insert)
|
||||||
(evil-set-undo-system 'undo-tree)
|
(evil-set-undo-system 'undo-tree)
|
||||||
@@ -235,7 +235,6 @@ For autocomplete
|
|||||||
(add-to-list 'company-backends 'company-dabbrev)
|
(add-to-list 'company-backends 'company-dabbrev)
|
||||||
(setq company-backends (append '(company-files) (remove 'company-files company-backends)))
|
(setq company-backends (append '(company-files) (remove 'company-files company-backends)))
|
||||||
:hook (after-init . global-company-mode))
|
:hook (after-init . global-company-mode))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Configure company-quickhelp
|
*** Configure company-quickhelp
|
||||||
@@ -358,20 +357,33 @@ Do not use centaur tabs for now
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Misc packages
|
** Misc packages
|
||||||
#+begin_src emacs-lisp
|
*** Icons
|
||||||
|
For installing icons
|
||||||
|
#+begin_src emacs-lisp
|
||||||
(use-package all-the-icons
|
(use-package all-the-icons
|
||||||
|
:defer t
|
||||||
:if (display-graphic-p))
|
:if (display-graphic-p))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
(use-package elcord :defer t)
|
*** Projectile
|
||||||
|
For tracking project root
|
||||||
|
#+begin_src emacs-lisp
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:defer t
|
:defer t
|
||||||
:config
|
:config
|
||||||
(define-key projectile-mode-map (kbd "C-x p") 'projectile-command-map)
|
(define-key projectile-mode-map (kbd "C-x p") 'projectile-command-map)
|
||||||
(projectile-mode +1))
|
(projectile-mode +1))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
*** Rainbow
|
||||||
|
For highlighting colors
|
||||||
|
#+begin_src emacs-lisp
|
||||||
(use-package rainbow-mode :defer t)
|
(use-package rainbow-mode :defer t)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
*** Rainbow delimiters
|
||||||
|
To make distinguishing parens easier
|
||||||
|
#+begin_src emacs-lisp
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:hook (prog-mode . rainbow-delimiters-mode))
|
:hook (prog-mode . rainbow-delimiters-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -488,6 +500,7 @@ Compilation shortcuts for standalone files
|
|||||||
** gptel
|
** gptel
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package gptel
|
(use-package gptel
|
||||||
|
:defer t
|
||||||
:config
|
:config
|
||||||
(setq gptel-model 'claude-sonnet-4-20250514
|
(setq gptel-model 'claude-sonnet-4-20250514
|
||||||
gptel-backend (gptel-make-anthropic "Claude"
|
gptel-backend (gptel-make-anthropic "Claude"
|
||||||
@@ -503,6 +516,7 @@ Compilation shortcuts for standalone files
|
|||||||
** Aidermacs
|
** Aidermacs
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package aidermacs
|
(use-package aidermacs
|
||||||
|
:defer t
|
||||||
:bind (("C-c a" . aidermacs-transient-menu))
|
:bind (("C-c a" . aidermacs-transient-menu))
|
||||||
:custom
|
:custom
|
||||||
; See the Configuration section below
|
; See the Configuration section below
|
||||||
|
|||||||
Reference in New Issue
Block a user