From 91e7bcacc1c9b0986ae7e673891ed7a2aec0ec90 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 7 Nov 2019 12:05:06 -0500 Subject: [PATCH] Add additional xref keybindings --- emacs/init.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index d7a4e91..cb184aa 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -620,8 +620,10 @@ Emacs has a shell for every mood! ** Code commands #+BEGIN_SRC emacs-lisp (jdormit/define-prefix "c" "code") - (general-def 'normal "SPC cd" #'xref-find-definitions) - (general-def 'normal "SPC cr" #'xref-find-references) + (leader-def-key "cd" #'xref-find-definitions) + (leader-def-key "cr" #'xref-find-references) + (leader-def-key "ca" #'xref-find-apropos) + (general-def 'normal "M-." #'xref-find-definitions) #+END_SRC * Whitespace Visualation #+BEGIN_SRC emacs-lisp