From 16994c48e230c74d4db79bd58596b3478a4aed82 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 4 Dec 2023 17:16:49 +0000 Subject: [PATCH] Add eglot-rename bind --- home/emacs/init.el | 4 ++-- home/emacs/init.org | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home/emacs/init.el b/home/emacs/init.el index b38c92a5..2e6d4300 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -461,7 +461,8 @@ (use-package eglot :ensure t :bind (("C-c c e" . eglot) - ("C-c c a" . eglot-code-actions)) + ("C-c c a" . eglot-code-actions) + ("C-c c r" . eglot-rename)) :hook ((nix-mode fortran-mode shell-script-mode @@ -605,7 +606,6 @@ (use-package consult-eglot :ensure t :after consult - :requires eglot :commands (consult-eglot-symbols) :bind (("C-c s s" . consult-eglot-symbols))) diff --git a/home/emacs/init.org b/home/emacs/init.org index 0d63f3a3..0dc5ffd0 100644 --- a/home/emacs/init.org +++ b/home/emacs/init.org @@ -555,7 +555,8 @@ For reference information, see [[https://orgmode.com][Org-mode website]] (use-package eglot :ensure t :bind (("C-c c e" . eglot) - ("C-c c a" . eglot-code-actions)) + ("C-c c a" . eglot-code-actions) + ("C-c c r" . eglot-rename)) :hook ((nix-mode fortran-mode shell-script-mode @@ -725,7 +726,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]] (use-package consult-eglot :ensure t :after consult - :requires eglot :commands (consult-eglot-symbols) :bind (("C-c s s" . consult-eglot-symbols))) #+end_src