From 4def7f359cf696fd9afbca08631409b61fdfc787 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 25 Mar 2025 05:32:36 -0400 Subject: [PATCH] refactor(evil): remove +evil--dont-move-cursor-a evil-indent, upstream, now preserves the column, which is enough to render this advice obsolete. Revert: c77ec345a3a0 --- modules/editor/evil/config.el | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/editor/evil/config.el b/modules/editor/evil/config.el index 638e3655c..c6ced7c30 100644 --- a/modules/editor/evil/config.el +++ b/modules/editor/evil/config.el @@ -139,12 +139,6 @@ directives. By default, this only recognizes C directives.") (count-lines (point-min) (point-max)) (buffer-size))))) - ;; HACK '=' moves the cursor to the beginning of selection. Disable this, - ;; since it's more disruptive than helpful. - (defadvice! +evil--dont-move-cursor-a (fn &rest args) - :around #'evil-indent - (save-excursion (apply fn args))) - ;; REVIEW In evil, registers 2-9 are buffer-local. In vim, they're global, ;; so... Perhaps this should be PRed upstream? (defadvice! +evil--make-numbered-markers-global-a (char)