Lighttpd 的多 IP:Port 绑定 MIME Multipart/Related Co...
may 07
Rectangle command in Emacs
KeystrokesCommand nameAction
C-x r kkill-rectangleDelete a rectangle and store it.
C-x r ddelete-rectangleDelete a rectangle and do not store it.
C-x r yyank-rectangleInsert the last rectangle killed.
C-x r cclear-rectangle,Using spacesblank out the area marked as a rectangle and do not store it."
C-x r oopen-rectangleInsert a blank rectangle in the area marked.
C-x r r rcopy-rectangle-to-registerCopy rectangle to register r (where r is any character) .
C-x r i rinsert-registerInsert rectangle from register r (where r is any character).
(none)delete-whitespace-rectangleIf a rectangle includes initial whitespace, deletes it, narrowing rectangle.
C-x r t string Enterstring-rectangleChange contents of marked rectangle to string (if string is narrower or wider than rectangle, dimensions change accordingly).
(none)string-insert-rectanglePrompts for string and inserts rectangle.

如果你曾经用过 UltraEdit 的 Column 编辑模式,应该会很喜欢 Emacs 的这个功能。

dirk 发表于 2007-05-07 Monday


0 Responses to “Rectangle Editing in Emacs”

  1. No comments yet

Comment »