From 4bed77aa3a3505903ee0e190e818f5909179f44c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 5 Aug 2020 20:50:05 -0400 Subject: [PATCH] evil-kbd-macro-suppress-motion-error = t Don't let innocuous motion errors abort the recording or playback of macros. --- modules/editor/evil/config.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/editor/evil/config.el b/modules/editor/evil/config.el index 85417327f..ed63c71eb 100644 --- a/modules/editor/evil/config.el +++ b/modules/editor/evil/config.el @@ -46,7 +46,10 @@ directives. By default, this only recognizes C directives.") evil-visual-state-cursor 'hollow ;; Only do highlighting in selected window so that Emacs has less work ;; to do highlighting them all. - evil-ex-interactive-search-highlight 'selected-window) + evil-ex-interactive-search-highlight 'selected-window + ;; It's infuriating that innocuous "beginning of line" or "end of line" + ;; errors will abort macros, so suppress them: + evil-kbd-macro-suppress-motion-error t) ;; Slow this down from 0.02 to prevent blocking in large or folded buffers ;; like magit while incrementally highlighting matches.