Enable evil-mode but without autostart mode.

This commit is contained in:
KJ 2023-09-23 17:32:38 -04:00
parent 1ae42b518e
commit cef7d4e78a
2 changed files with 4 additions and 3 deletions

View File

@ -14,10 +14,11 @@
;;; Code: ;;; Code:
(use-package evil (use-package evil
:defer t :defer t
:hook (elpaca-after-init . evil-mode) ;; :hook (elpaca-after-init . evil-mode)
:config :config
;; Configuraciones básicas ;; Configuraciones básicas
(setq evil-default-state 'emacs) ;; Modo por defecto en emacs ;; (setq evil-default-state 'emacs) ;; Modo por defecto en emacs
(setq evil-default-state 'normal) ;; Modo por defecto en emacs
(setq evil-emacs-state-cursor 'bar) ;; Cursor de emacs state en bar (setq evil-emacs-state-cursor 'bar) ;; Cursor de emacs state en bar
(setq evil-normal-state-cursor 'bar) ;; Cursor de normal state en bar en lugar de box (setq evil-normal-state-cursor 'bar) ;; Cursor de normal state en bar en lugar de box
(evil-set-leader 'motion (kbd "SPC")) ;; Leader key (evil-set-leader 'motion (kbd "SPC")) ;; Leader key

View File

@ -22,7 +22,7 @@
(require 'init-corfu) (require 'init-corfu)
(require 'init-ctags) (require 'init-ctags)
(require 'init-minibuffer) (require 'init-minibuffer)
;; (require 'init-evil) (require 'init-evil)
(require 'init-keys) (require 'init-keys)
;; Lenguajes ;; Lenguajes