From a4d00445d26ae54cbfb017af74c4dc5735453a6f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 14 Jun 2025 13:41:36 +0200 Subject: [PATCH] tweak(markdown): markdown-mouse-follow-link = nil --- modules/lang/markdown/config.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/lang/markdown/config.el b/modules/lang/markdown/config.el index 8df215bca..87862fe28 100644 --- a/modules/lang/markdown/config.el +++ b/modules/lang/markdown/config.el @@ -45,7 +45,12 @@ capture, the end position, and the output buffer.") "" "" "" - "")) + "") + ;; Disabled to prevent accidentally clicking links while focusing Emacs + ;; or a markdown buffer. We prefer keyboard-centric workflows anyway and + ;; already have ffap or lookup commands for opening links at point (e.g. + ;; gf or pressing RET on a link). + markdown-mouse-follow-link nil) :config (set-flyspell-predicate! '(markdown-mode gfm-mode)