Enter rectangle mark mode with C-x SPC
Shrink or grow region by (This is going to select a rectangle):
2.1. Do C-n
or C-p
to expand the cursor to the next or previous lines respectively.
2.2. You can now play with text selection by doing C-f
, C-b
, M-f
, M-b
, etc.
This selected rectangle region can be used to perform some actions like
C-x r k
C-x r d
C-x r y
(paste last killed rectangle at cursor position)原文:https://www.cnblogs.com/eiguleo/p/14606488.html