summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-06-20 19:21:53 -0700
committerFranck Cuny <franck@fcuny.net>2023-06-20 19:21:53 -0700
commitfb0e4acb1e3bc5d8cc26f29fd6297e89f69b391b (patch)
tree58c7cb564aae10ac4d3ea15b7fcf8f4b685d2920
parentconfigure the font family and the size (diff)
downloademacs.d-fb0e4acb1e3bc5d8cc26f29fd6297e89f69b391b.tar.gz
bind some keys for eglot
Change-Id: I72c6c564c7c663f284d708989aaa927f5acb0df0
-rw-r--r--init.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.org b/init.org
index 043a105..f687372 100644
--- a/init.org
+++ b/init.org
@@ -1044,7 +1044,10 @@ After experimenting with [[https://emacs-lsp.github.io/lsp-mode/][lsp-mode]] and
 For languages where I want to use LSP, I need to add ~:hook (nix-mode . englot-ensure)~ in the ~use-package~ definition for the language.
 
 #+begin_src emacs-lisp
-(use-package eglot)
+(use-package eglot
+  :bind (:map eglot-mode-map
+              ("C-c l a" . eglot-code-actions)
+              ("C-c l r" . eglot-rename)))
 #+end_src
 
 *** tree-sitter