Remove unnecesary code.

This commit is contained in:
KJ 2024-04-26 11:52:41 -04:00
parent b5a30921a7
commit 2e210421e3

View File

@ -27,12 +27,6 @@
;; Habilitar atajos de de tecla de emacs en insert state ;; Habilitar atajos de de tecla de emacs en insert state
(setq evil-insert-state-map (make-sparse-keymap)) (setq evil-insert-state-map (make-sparse-keymap))
;; Cerrar corfu y pasar a modo normal al presionar escape
(evil-define-key 'insert 'global (kbd "<escape>") (lambda()
(interactive)
(call-interactively 'corfu-quit)
(evil-normal-state)))
;; (evil-define-key 'normal 'global (kbd "<escape>") 'corfu-quit) ;; (evil-define-key 'normal 'global (kbd "<escape>") 'corfu-quit)
;; Cambiar a mode emacs con escape ;; Cambiar a mode emacs con escape
;; (evil-define-key 'emacs 'global (kbd "<escape>") 'evil-normal-state) ;; (evil-define-key 'emacs 'global (kbd "<escape>") 'evil-normal-state)