I can enter rectangle mark mode with C-x SPC
, and then do C-p
or C-n
to set mark to the line above or below.
How do I vertically mark multiple lines in one go without having to do C-p
or C-n
multiple times?
Also, is it possible to set mark vertically to the beginning or end of document?
end-of-buffer
also works inrectangle-mark-mode
.C-p
andC-n
and pretty much every moving command a numeric prefix arg. The command is then executed that many times.C-p
multiple times afterC-x SPC