Skip to content

System: Nyx Emacs

joe-possum edited this page May 11, 2026 · 1 revision
  • Version: GNU Emacs 28.2

Eglot

apt install eglot elpa-eglot clangd bear

~/.emacs

(require 'eglot)
(add-to-list 'eglot-server-programs '((c++-mode c-mode) "clangd"))
(add-hook 'c-mode-hook 'eglot-ensure)
(add-hook 'c++-mode-hook 'eglot-ensure)

Key bindings

  • M-, : xref-find-definitions

Clone this wiki locally