In Vim, I can do this trick on a line with the words "People":
yy p Shift-v r +
It will produce a set of lines that like this:
People
++++++
I would like to be able to reproduce this in Emacs if possible.
Use C-M-% (query-replace-regexp
) to replace the pattern .
with +
in the region (In Emacs regexp, .
matches any characters except newline).
evil-mode
: https://github.com/emacs-evil/evil – Lorem Ipsum Jan 16 '19 at 15:34