Fix gp (+evil/reselect-paste)
This commit is contained in:
parent
75585fa90f
commit
ea8ed1f997
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -206,7 +206,7 @@
|
|||
;; Navigation
|
||||
:nv "K" 'smart-up
|
||||
:m "gD" 'doom/find-def
|
||||
:n "gp" 'doom/editor-reselect-paste
|
||||
:n "gp" '+evil/reselect-paste
|
||||
:n "gc" 'evil-commentary
|
||||
:n "gx" 'evil-exchange
|
||||
:n "gr" '+repl:eval-region
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue