feat(lsp): makes gr find references
Adds gr to finding references, as `kickstart.nvim` does.
This commit is contained in:
4
init.el
4
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 "<leader> c a") 'lsp-execute-code-action ;; Execute code actions
|
||||
(kbd "<leader> r n") 'lsp-rename ;; Rename symbol
|
||||
(kbd "gI") 'lsp-find-implementation ;; Find implementation
|
||||
|
||||
Reference in New Issue
Block a user