commit 46b93b6802c3bab25a6814bf5293b9ff37d4b65d
parent 0a5f281b3587981565d60a9e89f769dcd5544cf5
Author: Alex Balgavy <alex@balgavy.eu>
Date: Wed, 8 Jun 2022 13:35:51 +0200
emacs: enable global eldoc mode
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -1534,6 +1534,13 @@ And a way to toggle those side windows:
#+begin_src emacs-lisp
(za/global-set-key (kbd "C-c W") #'window-toggle-side-windows)
#+end_src
+** Eldoc
+When editing Elisp and other supported major-modes, Eldoc will display useful information about the construct at point in the echo area.
+
+#+begin_src emacs-lisp
+ (global-eldoc-mode 1)
+#+end_src
+
* Editor
** Overwrite selection on typing
Normally, when I select something and start typing, Emacs clears the selection, i.e. it deselects and inserts text after the cursor.