refactor(evil): remove +evil--dont-move-cursor-a

evil-indent, upstream, now preserves the column, which is enough to
render this advice obsolete.

Revert: c77ec345a3
This commit is contained in:
Henrik Lissner
2025-03-25 05:32:36 -04:00
parent d5e161a9ae
commit 4def7f359c

View File

@ -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)