Rectangular selections

emacs

Mark top left corner with C-<Space>, place cursor on bottom right corner and use:

C-x r t – replace selection
C-x r k – kill selection
C-x r y – yank (paste)

vim

In command mode, start selection with C-v, expand it using the arrow keys and use for example y to copy or d to delete. For line selection, use shift-v instead.

Gnome-terminal

Press Ctrl, left-click and make a selection with the mouse.

This entry was posted in Linux/UNIX. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.