Update .emacs.d/README.org
This commit is contained in:
parent
b4859f807a
commit
c1332e1ec6
1 changed files with 20 additions and 18 deletions
|
@ -207,7 +207,9 @@ which-key is a nice little package that allows to have a minibuffer showing whic
|
|||
#+begin_src emacs-lisp
|
||||
(use-package which-key
|
||||
:config
|
||||
(which-key-mode))
|
||||
(which-key-mode)
|
||||
(which-key-add-key-based-replacements ;; naming prefixes
|
||||
"C-c l" "lsp"))
|
||||
#+end_src
|
||||
|
||||
** Discord presence
|
||||
|
@ -231,10 +233,9 @@ Eglot is a built in LSP client for Emacs. I prefer it to LSP as it's more lightw
|
|||
#+begin_src emacs-lisp
|
||||
(use-package eglot
|
||||
:bind (:map eglot-mode-map
|
||||
("C-c C-d" . eldoc)
|
||||
("C-c C-e" . eglot-rename)
|
||||
("C-c C-o" . python-sort-imports)
|
||||
("C-c C-f" . eglot-format-buffer))
|
||||
("C-c l h" . eldoc)
|
||||
("C-c l r" . eglot-rename)
|
||||
("C-c l f" . eglot-format-buffer))
|
||||
:hook ((tsx-ts-mode . eglot-ensure)
|
||||
(typescript-ts-mode . eglot-ensure)))
|
||||
|
||||
|
@ -251,6 +252,7 @@ Eglot is a built in LSP client for Emacs. I prefer it to LSP as it's more lightw
|
|||
|
||||
** Autocompletion
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
(use-package corfu
|
||||
:custom
|
||||
(corfu-auto t)
|
||||
|
|
Loading…
Reference in a new issue