Fix gp (+evil/reselect-paste)

This commit is contained in:
Henrik Lissner 2017-03-02 11:42:09 -05:00
parent 75585fa90f
commit ea8ed1f997
2 changed files with 9 additions and 1 deletions

View file

@ -16,6 +16,14 @@
(evil-normal-state)
(evil-visual-restore))
;;;###autoload
(defun +evil/reselect-paste ()
"Go back into visual mode and reselect the last pasted region."
(interactive)
(evil-goto-mark ?\[)
(evil-visual-state)
(evil-goto-mark ?\]))
;;;###autoload
(defun +evil*ex-replace-special-filenames (file-name)
"Replace special symbols in FILE-NAME. Modified to include other substitution