当前位置: 首页 > 工具软件 > Leo Editor > 使用案例 >

leo-editor 列操作模式命令 rectangle

傅朝
2023-12-01

英文不难,就不翻译了。

The following is from LeoDocs.leo. Selecting some text with mouse or keyboard arrow key, then between the first cursor and the end cursor is the columns that being selected.


… _Emacs rectangle commands: http://www.gnu.org/software/emacs/manual/html_node/emacs/Rectangles.html

The following commands emulate the Emacs rectangle commands_::

rectangle-clear
rectangle-delete

rectangle-open
rectangle-close

rectangle-kill
rectangle-yank

rectangle-string

Given::

I'm really glad the docs are being updated. I know that's a
monumental task. I only use a fraction of Leo's commands, mostly
because I don't even know what they're supposed to accomplish. A few
examples:

Placing the cursor immediately before the first “I”, holding shift and moving it to immediately before the wordexamples selects a zero width rectangle from the beginning to the end of the selection (zero width because the selection starts and ends in the same column. Then running rectangle-string [largo]<space><enter> yields::

[largo] I’m really glad the docs are being updated. I know that’s a
[largo] monumental task. I only use a fraction of Leo’s commands, mostly
[largo] because I don’t even know what they’re supposed to accomplish. A few
[largo] examples:

 类似资料: