kill-rectangle - Delete a column of text
yank-rectangle - Insert a column of text
kill-rectangle (esc C-w)
n yank-rectangle (esc C-y)
kill-rectangle deletes a rectangle (or column) of text defined between the cursor and the set-mark position. The text between the mark column and the cursor column is removed from every line between the mark line and the cursor line inclusive and copied to the kill buffer. The delete text may then be extracted from the kill buffer using yank(2), yank-rectangle or yank-rectangle-overwrite(3).
The mark position may be ahead or behind the current cursor position. If the rectangle column boundary divides a tab character which spans multiple columns, the tab character is replaced with the equivalent number of spaces. Similarly if the boundary divides an unprintable character which is displayed using multiple characters (e.g. '^A' for character 0x01) then spaces are inserted before the character to move it to the right of the boundary.
yank-rectangle inserts the current kill buffer (which may or may not have been generated using kill-rectangle) into the current buffer in a column fashion. That is to say that the first line of text in the kill buffer is inserted into the current line of text in the current buffer from the current cursor column, the cursor is then moved the the next line and placed at the same column. The process is then repeated for the second line of text in the kill buffer etc.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2004/01/17
Generated On: 2006/10/07