Remove shortcut for C-r on evil mode.

This commit is contained in:
KJ 2024-09-10 14:12:59 -04:00
parent c39574582f
commit 2178a2e7cb

View File

@ -52,8 +52,7 @@
;; Cambiar C-z a deshacer ;; Cambiar C-z a deshacer
(evil-define-key all-states 'global (kbd "C-z") 'undo) (evil-define-key all-states 'global (kbd "C-z") 'undo)
;; Cambiar C-r a ripgrep y U hasta hacer redo ;; Cambiar U para hacer redo
(evil-define-key vim-states 'global (kbd "C-r") 'consult-ripgrep)
(evil-define-key 'normal 'global (kbd "U") 'undo-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 "C-S-z") 'undo-redo)
(evil-define-key 'normal 'global (kbd "M-.") 'xref-find-definitions) (evil-define-key 'normal 'global (kbd "M-.") 'xref-find-definitions)