aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/lisp/evil-collection/modes/eglot/README.org
blob: b93d3c183f4408a7170caf2a64391749edffd9fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
* eglot

  Evil bindings for [[https://www.gnu.org/software/emacs/manual/html_node/eglot/index.html][eglot]], the built-in LSP client.

** Key bindings (normal state)

   | Command                              | Original  | Evil  |
   |--------------------------------------+-----------+-------|
   | =xref-find-definitions=              | =M-.=     | =gd=  |
   | =xref-find-definitions-other-window= | =C-x 4 .= | =gD=  |
   | =xref-find-definitions-other-frame=  | =C-x 5 .= | =g5=  |
   | =xref-pop-marker-stack=              | =M-,=     | =C-t= |
   | =eldoc-doc-buffer=                   | n/a       | =K=   |
   | =xref-find-references=               | =M-?=     | =gr=  |

   =gr= is only bound when =evil-collection-want-find-usages-bindings= is non-nil.

   =eglot-managed-mode-hook= adds =evil-normalize-keymaps= so the bindings
   activate as soon as eglot manages a buffer.