"g u" key binding for Emacs
This commit is contained in:
1
TODO.org
1
TODO.org
@@ -10,7 +10,6 @@ SPC p g to open projectile project straight to git
|
|||||||
https://karthinks.com/software/fifteen-ways-to-use-embark/
|
https://karthinks.com/software/fifteen-ways-to-use-embark/
|
||||||
** Snippets
|
** Snippets
|
||||||
*** Insert Org source block
|
*** Insert Org source block
|
||||||
** g u to go to references
|
|
||||||
* Kitty
|
* Kitty
|
||||||
** Fine tune theme for visiblity on mac/windows
|
** Fine tune theme for visiblity on mac/windows
|
||||||
** Nix-installed kitty on Linux
|
** Nix-installed kitty on Linux
|
||||||
|
|||||||
@@ -121,3 +121,7 @@
|
|||||||
(define-key company-active-map (kbd "<return>") nil)
|
(define-key company-active-map (kbd "<return>") nil)
|
||||||
(define-key company-active-map (kbd "RET") nil)
|
(define-key company-active-map (kbd "RET") nil)
|
||||||
(define-key company-active-map (kbd "C-SPC") #'company-complete-selection))
|
(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)
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
lookup ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
lsp
|
(lsp +peek)
|
||||||
;;macos ; MacOS-specific commands
|
;;macos ; MacOS-specific commands
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
;;make ; run make tasks from Emacs
|
;;make ; run make tasks from Emacs
|
||||||
|
|||||||
Reference in New Issue
Block a user