Some outline commands
You can use Leo as fairly typical outliner. Click the expansion box of nodes to
show and hide their children.
你可以將 Leo 完全作為一個(gè)普通的 outliner 。
點(diǎn)擊節(jié)點(diǎn)的擴(kuò)展盒子來顯示隱藏它們的子節(jié)點(diǎn)。
Play around with some of the commands from the Outline menu or from the
minibuffer. The keyboard shortcut and minibuffer key sequence appear in
parentheses. Note: as usual, you can use tab completion in the minibuffer.
你可以從 outline 菜單或者 minibuffer 中玩弄一些命令。
鍵盤的快捷鍵和 minibuffer 按鍵總是成對(duì)出現(xiàn)。
注意 :和普通的一樣,在 minibuffer 中你可以使用 tab 進(jìn)行補(bǔ)全。
Edit Headline (Ctrl+H or <Alt-x>edit-headline<return>)
Begins editing of the headline text of a node.
To end editing, hit <return> or <Ctrl-g>
開始編輯一個(gè)節(jié)點(diǎn)的 headline 文字。
要結(jié)束編輯,輸入 <return> 或 <Ctrl-g>
Insert Node (Ctrl+I or <Alt-x>insert-node<return>)
Inserts a new headline into the outline.
往 outline 中插入一個(gè)新的 headline 。
Cut Node (Ctrl+Shift+X or <Alt-x>cut-node<return>)
Deletes a node and all its descendants, copying them to the clipboard.
刪除一個(gè)節(jié)點(diǎn)及其所有子節(jié)點(diǎn),然后復(fù)制它們到剪貼板。
Paste Node (Ctrl+Shift+V or <Alt-x>paste-node<return>)
Pastes a tree copied by the Cut Node command.
粘貼一個(gè)被剪切的樹節(jié)點(diǎn)。
Copy Node (Ctrl+Shift+C or <Alt-x>copy-node<return>)
Copies a node and all its descendants to clipboard without deleting it from
outline. You can copy a tree from one Leo outline to another using Copy Node
and Paste Node.
復(fù)制一個(gè)節(jié)點(diǎn)及其所有子節(jié)點(diǎn),但是并不將其刪除。
你可以使用 Copy 和 Paste 將一棵樹從一個(gè) outline 到另一個(gè) outline 。
Contract or Go Left (Alt-Left-Arrow or <Alt-x>contract-or-go-left<return)
Contracts a node if it is expanded, otherwise selects its parent.
如果一個(gè)節(jié)點(diǎn)是展開的,那么就將其收縮。否則,選中其父節(jié)點(diǎn)。
Expand and Go Right (Alt-Right-Arrow or <Alt-x>expand-and-go-right<return>)
Select a node’s first child, expanding the original node if needed.
選中一個(gè)節(jié)點(diǎn)的第一個(gè)子元素,如果有必要,就展開此節(jié)點(diǎn)。
Goto Prev Visible (Alt-Up-Arrow or <Alt-x>goto-prev-visible<return>)
Select the previous visible node.
選中前一個(gè)可見的節(jié)點(diǎn)。
Goto Next Visible (Alt-Down-Arrow or <Alt-x>goto-next-visible<return>)
Select the next visible node.
選中下一個(gè)可見的節(jié)點(diǎn)。
Move Up (Ctrl+U or <Alt-x>move-outline-up<return>)
Moves a node up in the outline.
將一個(gè)節(jié)點(diǎn)上移。
Move Down (Ctrl+D or <Alt-x>move-outline-down<return>)
Moves a node down.
將一個(gè)節(jié)點(diǎn)下移。
Move Left (Ctrl+L or <Alt-x>move-outline-left<return>)
Moves a node left.
將一個(gè)節(jié)點(diǎn)左移。
Move Right (Ctrl+R or <Alt-x>move-outline-right<return>)
Moves a node right.
將一個(gè)節(jié)點(diǎn)右移。
Promote (Ctrl+} or <Alt-x>promote<return>)
Makes all the children of a node to be siblings of the node.
使一個(gè)節(jié)點(diǎn)的所有子節(jié)點(diǎn)與其同級(jí)。
Demote (Ctrl+{ or <Alt-x>demote<return>)
Makes all following siblings of a node to be children of the headline.
使一個(gè)節(jié)點(diǎn)后面的同級(jí)節(jié)點(diǎn)變?yōu)樵摴?jié)點(diǎn)的子節(jié)點(diǎn)。
Please experiment with Leo’s outline now. Move around the tree and
expand/collapse nodes by pressing Alt + arrow keys. This also moves the focus to
tree, so, after pressing Alt + arrow, you can move around by using arrow keys
alone. Return the focus to the body control by pressing Enter.
請現(xiàn)在就試試 Leo 的 outline 。
通過 Alt + 箭頭在樹中上下移動(dòng),展開閉合節(jié)點(diǎn)。
這也移動(dòng)了焦點(diǎn),所以,在按了 Alt + 箭頭后,
你可以直接用方向鍵了。
按 Enter 可以把焦點(diǎn)移回 body 中。