File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1893,7 +1893,8 @@ The return value is the yanked text."
18931893 (evil-set-marker ?\] (1- (point )))
18941894 (when (and evil-move-cursor-back
18951895 (> (length text) 0 ))
1896- (backward-char ))))
1896+ (backward-char ))
1897+ (evil-exchange-point-and-mark)))
18971898 ; ; no paste-pop after pasting from a register
18981899 (when register
18991900 (setq evil-last-paste nil ))
@@ -1944,7 +1945,8 @@ The return value is the yanked text."
19441945 (evil-set-marker ?\[ beg)
19451946 (evil-set-marker ?\] (1- (point )))
19461947 (when (evil-normal-state-p)
1947- (evil-move-cursor-back)))))
1948+ (evil-move-cursor-back))
1949+ (evil-exchange-point-and-mark))))
19481950 (when register
19491951 (setq evil-last-paste nil ))
19501952 (and (> (length text) 0 ) text)))))
You can’t perform that action at this time.
0 commit comments