File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1893,7 +1893,9 @@ The return value is the yanked text."
1893
1893
(evil-set-marker ?\] (1- (point)))
1894
1894
(when (and evil-move-cursor-back
1895
1895
(> (length text) 0))
1896
- (backward-char))))
1896
+ (backward-char))
1897
+ (if (evil-normal-state-p)
1898
+ (evil-exchange-point-and-mark))))
1897
1899
;; no paste-pop after pasting from a register
1898
1900
(when register
1899
1901
(setq evil-last-paste nil))
@@ -1944,7 +1946,8 @@ The return value is the yanked text."
1944
1946
(evil-set-marker ?\[ beg)
1945
1947
(evil-set-marker ?\] (1- (point)))
1946
1948
(when (evil-normal-state-p)
1947
- (evil-move-cursor-back)))))
1949
+ (evil-move-cursor-back)
1950
+ (evil-exchange-point-and-mark)))))
1948
1951
(when register
1949
1952
(setq evil-last-paste nil))
1950
1953
(and (> (length text) 0) text)))))
You can’t perform that action at this time.
0 commit comments