Compare commits

...

2 Commits

Author SHA1 Message Date
KJ
adc3d07d35 Set git commit initial state to emacs instead normal (evil). 2024-09-10 14:13:37 -04:00
KJ
2178a2e7cb Remove shortcut for C-r on evil mode. 2024-09-10 14:12:59 -04:00

View File

@ -52,8 +52,7 @@
;; Cambiar C-z a deshacer
(evil-define-key all-states 'global (kbd "C-z") 'undo)
;; Cambiar C-r a ripgrep y U hasta hacer redo
(evil-define-key vim-states 'global (kbd "C-r") 'consult-ripgrep)
;; Cambiar U para hacer redo
(evil-define-key 'normal 'global (kbd "U") 'undo-redo)
(evil-define-key 'normal 'global (kbd "C-S-z") 'undo-redo)
(evil-define-key 'normal 'global (kbd "M-.") 'xref-find-definitions)
@ -120,7 +119,7 @@
(evil-set-initial-state 'dired 'normal)
;; (evil-set-initial-state 'vterm-mode 'emacs)
;; (evil-set-initial-state 'magit-mode 'emacs)
;; (evil-set-initial-state 'git-commit-mode 'emacs)
(evil-set-initial-state 'git-commit-mode 'emacs)
)
;; Funciones y atajos de teclas especiales para evil cuando estamo en org-mode.