From bfecd59f6ca3a1eb7385c056d2608d4ca7c5f8dc Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 22 Mar 2022 10:10:58 +0800 Subject: More keymap in evil mode (emacs) --- .emacs.d/lisp/init-evil.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.emacs.d/lisp') diff --git a/.emacs.d/lisp/init-evil.el b/.emacs.d/lisp/init-evil.el index 03849ba..1a2b91c 100644 --- a/.emacs.d/lisp/init-evil.el +++ b/.emacs.d/lisp/init-evil.el @@ -16,7 +16,11 @@ (kbd "C-【") 'evil-normal-state) (evil-define-key 'normal 'global (kbd "gj") 'evil-next-visual-line - (kbd "gk") 'evil-previous-visual-line) + (kbd "gk") 'evil-previous-visual-line + + (kbd "gd") 'xref-find-definitions + (kbd "gr") 'xref-find-references + (kbd "C-t") 'xref-pop-marker-stack) (evil-define-key 'normal text-mode-map (kbd "j") 'evil-next-visual-line (kbd "k") 'evil-previous-visual-line -- cgit v1.2.3