-
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
orC-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
- kill :
C-x r k
- delete:
C-x r d
- yank:
C-x r y
(paste last killed rectangle at cursor position)
- kill :