"g u" key binding for Emacs

This commit is contained in:
2022-05-13 12:36:26 -07:00
parent 839f39cf23
commit ac1dbf979c
3 changed files with 5 additions and 2 deletions

View File

@@ -121,3 +121,7 @@
(define-key company-active-map (kbd "<return>") nil)
(define-key company-active-map (kbd "RET") nil)
(define-key company-active-map (kbd "C-SPC") #'company-complete-selection))
;; "g u" in normal mode finds references, using LSP if available
(map! :n "g u" #'xref-find-references)
(map! :mode lsp-mode :n "g u" #'lsp-ui-peek-find-references)