Update .emacs.d/README.org

This commit is contained in:
Anthony Rodriguez 2024-07-05 17:19:20 +02:00
parent b4859f807a
commit c1332e1ec6

View file

@ -207,7 +207,9 @@ which-key is a nice little package that allows to have a minibuffer showing whic
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package which-key (use-package which-key
:config :config
(which-key-mode)) (which-key-mode)
(which-key-add-key-based-replacements ;; naming prefixes
"C-c l" "lsp"))
#+end_src #+end_src
** Discord presence ** 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 #+begin_src emacs-lisp
(use-package eglot (use-package eglot
:bind (:map eglot-mode-map :bind (:map eglot-mode-map
("C-c C-d" . eldoc) ("C-c l h" . eldoc)
("C-c C-e" . eglot-rename) ("C-c l r" . eglot-rename)
("C-c C-o" . python-sort-imports) ("C-c l f" . eglot-format-buffer))
("C-c C-f" . eglot-format-buffer))
:hook ((tsx-ts-mode . eglot-ensure) :hook ((tsx-ts-mode . eglot-ensure)
(typescript-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 ** Autocompletion
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package corfu (use-package corfu
:custom :custom
(corfu-auto t) (corfu-auto t)