From 6f7cb5533850b0ca6add822995c0d80f390aaf99 Mon Sep 17 00:00:00 2001 From: Rahul Martim Juliato Date: Thu, 10 Oct 2024 16:19:34 -0300 Subject: [PATCH] feat(lsp): makes gr find references Adds gr to finding references, as `kickstart.nvim` does. --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index f14483f..945184e 100644 --- a/init.el +++ b/init.el @@ -933,8 +933,8 @@ ;; LSP commands keybindings (evil-define-key 'normal lsp-mode-map - ;; (kbd "gd") 'lsp-find-definition ;; Emacs already provides a better gd - ;; (kbd "gr") 'lsp-find-references ;; Emacs already provides a better gr + ;; (kbd "gd") 'lsp-find-definition ;; evil-collection already provides gd + (kbd "gr") 'lsp-find-references ;; Finds LSP references (kbd " c a") 'lsp-execute-code-action ;; Execute code actions (kbd " r n") 'lsp-rename ;; Rename symbol (kbd "gI") 'lsp-find-implementation ;; Find implementation