diff --git a/emacs/init.org b/emacs/init.org index e2a1276..9c1a9fb 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -974,8 +974,9 @@ Emacs support for the Language Server Protocol #+BEGIN_SRC emacs-lisp (use-package lsp-mode - :config - (leader-def-key "cd" #'xref-find-definitions)) + :general + ('normal lsp-mode-map "SPC cd" #'lsp-find-definition) + ('normal lsp-mode-map "SPC cr" #'lsp-find-references)) (use-package company-lsp :after (company)