summaryrefslogtreecommitdiff
path: root/emacs-config.org
diff options
context:
space:
mode:
authorBlake Romero <blake@developercraft.com>2025-10-15 19:45:53 +0100
committerBlake Romero <blake@developercraft.com>2025-10-15 19:45:53 +0100
commit9da68c7dd669d654b5e0767cc4ebc366e88266d4 (patch)
treebc16d829c9c1ecfaa040be9b7757f80c6095801e /emacs-config.org
parent5bb60baed6217df1c7f30de6659d834173854fa0 (diff)
Add additional eglot keybindings
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