New answers tagged vim-emulation
0
votes
Evil mode: How to run evil-indent on the text I've just pasted
You could define a text object based on the fact that (point) and (mark) are set after a past.
(define-key evil-inner-text-objects-map (kbd "P") 'my-evil-pasted-region)
(evil-define-text-...
Top 50 recent answers are included
Related Tags
vim-emulation × 33evil × 16
spacemacs × 6
key-bindings × 3
copy-paste × 3
regular-expressions × 2
text-editing × 2
process × 2
code-folding × 2
insert × 2
latex × 1
buffers × 1
hooks × 1
faces × 1
search × 1
git × 1
themes × 1
keymap × 1
yasnippet × 1
colors × 1
replace × 1
ess × 1
shell-command × 1
keyboard-macros × 1
bash × 1