mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-26 22:32:18 -08:00
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:
parent
d5e161a9ae
commit
4def7f359c
1 changed files with 0 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue