emacs列编辑

 

  1. Enter rectangle mark mode with C-x SPC

  2. 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-fC-bM-fM-b, etc.

  3. 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)
posted @ 2021-04-01 15:19  voh99800  阅读(84)  评论(0编辑  收藏  举报