New answers tagged


If you select the rectangle, which in Emacs terms means make it an active rectangular region, then C-w does just what you expect. Use C-x SPC to activate a rectangular region that you want to kill. Then just use C-w, the usual key for killing the active region. To select a rectangular region, do one of the following: Put point and mark at opposite corners (...


C-w kills the text between point and mark; it’s the normal command you would use to kill text. C-x r k kills the rectangle between point and mark. This is the one you want to use.

Top 50 recent answers are included