(shifting text to the right)Ĭopy-rectangle-as-kill 【 Ctrl + x r Alt + w】 Similar to replace-rectangle, but doesn't replace the rectangle text.ĭelete all whitespace following starting corner. Similar to kill-rectangle, but doesn't save to a special clipboard. Here's other rectangle commands, they are less often used. It is very useful for writing a ordered list of items.Īlt + x universal-argument 【 Ctrl + u】 right before rectangle-number-lines. Insert a Column of Numbers rectangle-number-lines 【 Ctrl + x r N】 Note: you need to call kill-rectangle first. This is useful when you want to move a column of text. Paste a column of text (after you used kill-rectangle). Paste Rectangle yank-rectangle 【 Ctrl + x r y】 Alt + x replace-rectangle 【 Ctrl + x r t】.Replace-rectangle replace-rectangle 【 Ctrl + x r t】 Alt + x set-mark-command 【 Ctrl + Space】.Delete a column of text kill-rectangle 【 Ctrl + x r k】 Then call kill-rectangle 【 Ctrl + x r k】. Mark Ctrl + Space the beginning of first line and move cursor to the last line, and move it to the right n chars. Delete the first few n chars of every line The command string-rectangle can be used to insert a vertical column of string across mulitple lines at any column position, not just at the beginning of lines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |