Prevent paste micro-state from being triggered with C-r in insert state

Fixes #1983
This commit is contained in:
syl20bnr 2015-06-20 23:02:39 -04:00
parent d157e225aa
commit ff0e5d91a2

View file

@ -745,7 +745,9 @@ Example: (evil-map visual \"<\" \"<gv\")"
"paste-micro-state"
(evil-paste-before evil-paste-after evil-visual-paste) after
"Initate the paste micro-state."
(unless (evil-ex-p) (spacemacs/paste-micro-state)))
(unless (or (evil-ex-p)
(eq 'evil-paste-from-register this-command))
(spacemacs/paste-micro-state)))
(defun spacemacs//paste-ms-doc ()
"The documentation for the paste micro-state."
(format (concat "[%s/%s] Type [p] or [P] to paste the previous or "