Compare commits

...

1 Commits

Author SHA1 Message Date
c7e6f22d3b 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
2025-10-18 17:24:28 +05:30

View File

@@ -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)
@@ -488,6 +488,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 +504,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