diff --git a/config.org b/config.org index 4485c18..f31cc54 100644 --- a/config.org +++ b/config.org @@ -2001,6 +2001,18 @@ In order to obtain as much information as possible about the current state of th *** Bindings +I prefer =flymake='s little error indicator to be on the right fringe, so as not to clutter the already busy left fringe. Doom does this by default, but the binding for clicking the fringe to show an error is still set to the left fringe, so we need to fix that. + +#+begin_src emacs-lisp +(map! :after flymake + :when (eq flymake-fringe-indicator-position 'right-fringe) + :map flymake-mode-map + " " nil + " " #'flymake-show-buffer-diagnostics) +#+end_src + +Project-wide diagnostic keybind: + #+begin_src emacs-lisp (map! :leader :desc "Open errors buffer"