From be6ee0a8b01830e04093ce2bae9b00ba158a6d2b Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Sat, 14 Feb 2026 18:37:43 -0500 Subject: [PATCH] fix: move flymake mouse binding to other fringe --- config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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"