diff options
author | Guangxiong Lin <[email protected]> | 2022-08-13 14:21:01 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-08-13 14:21:01 +0800 |
commit | e90a5f28f3afa7a51a97b18175a6b62365f55cf2 (patch) | |
tree | 811c5df181b35d9756b0822c22151340bf9aa540 /.emacs.d/lisp/init-eglot.el | |
parent | c2c53aec3c3369a314008146b654fff7743ada5b (diff) | |
download | dotfiles-e90a5f28f3afa7a51a97b18175a6b62365f55cf2.tar.gz dotfiles-e90a5f28f3afa7a51a97b18175a6b62365f55cf2.tar.bz2 dotfiles-e90a5f28f3afa7a51a97b18175a6b62365f55cf2.zip |
Update emacs config
Diffstat (limited to '.emacs.d/lisp/init-eglot.el')
-rw-r--r-- | .emacs.d/lisp/init-eglot.el | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/.emacs.d/lisp/init-eglot.el b/.emacs.d/lisp/init-eglot.el index 8a04c84..d94d6d0 100644 --- a/.emacs.d/lisp/init-eglot.el +++ b/.emacs.d/lisp/init-eglot.el @@ -9,12 +9,14 @@ (with-eval-after-load 'evil (evil-define-key 'normal 'eglot--managed-mode - (kbd "gd") 'xref-find-definitions - (kbd "gr") 'xref-find-references - (kbd "gt") 'eglot-find-typeDefinition - (kbd "K") 'eldoc-doc-buffer - (kbd "gi") 'eglot-find-implementation - (kbd "C-t") 'xref-pop-marker-stack)) + (kbd "gd") #'xref-find-definitions + (kbd "gr") #'xref-find-references + (kbd "gt") #'eglot-find-typeDefinition + (kbd "K") #'eldoc-doc-buffer + (kbd "gi") #'eglot-find-implementation + (kbd "C-t") #'xref-pop-marker-stack + + (kbd "<leader>rn") #'eglot-rename)) (setq eglot-autoreconnect t) |