summaryrefslogtreecommitdiff
path: root/emacs-config.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-config.org')
-rw-r--r--emacs-config.org11
1 files changed, 7 insertions, 4 deletions
diff --git a/emacs-config.org b/emacs-config.org
index 0b3bb7d..748cb5a 100644
--- a/emacs-config.org
+++ b/emacs-config.org
@@ -1470,10 +1470,13 @@ Add version control next action shortcut in diff-mode buffer.
Configure eglot.
#+begin_src elisp
(with-eval-after-load 'eglot
- (keymap-set eglot-mode-map "C-# a" #'eglot-code-actions)
- (keymap-set eglot-mode-map "C-# f" #'eglot-format)
- (keymap-set eglot-mode-map "C-# r" #'eglot-rename)
- (set-face-attribute 'eglot-inlay-hint-face
+ (keymap-set eglot-mode-map "M-# a" #'eglot-code-actions)
+ (keymap-set eglot-mode-map "M-# f" #'eglot-format)
+ (keymap-set eglot-mode-map "M-# r" #'eglot-rename)
+ (keymap-set eglot-mode-map "M-# M-;" #'eglot-find-declaration)
+ (keymap-set eglot-mode-map "M-# M-'" #'eglot-find-implementation)
+ (keymap-set eglot-mode-map "M-# M-." #'eglot-find-typeDefinition)
+ (set-face-attribute 'eglot-inlay-hint-face
'((t (:height 1.0 :inherit shadow)))))
#+end_src