「Emacs Speedbar」- 基础功能导航

  CREATED BY JENKINSBOT

Speedbar可以显示不同类型的数据,并具有多种显示模式和行为模式。

这些模式都有一个共同的行为、菜单系统、外观。如果学习了一种模式,那么其他模式很容易使用。

基础快捷键(Basic Key Bindings)

这些快捷键是在所有的模式中通用的:

Q
Quit speedbar, and kill the frame.

q
Quit speedbar, and hide the frame. This makes it faster to restore the speedbar frame, than if you press Q.

g
Refresh whatever contents are in speedbar.

t
Toggle speedbar to and from slowbar mode. In slowbar mode, frame tracking is not done.

n
p
Move, respectively, to the next or previous item. A summary of that item will be displayed in the attached frame’s minibuffer.

M-n
M-p
同级间移动,跳过同级的子菜单。
Move to the next or previous item in a restricted fashion. If a list is open, the cursor will skip over it. If the cursor is in an open list, it will not leave it.

C-M-n
C-M-p
Move forwards and backwards across extended groups. This lets you quickly skip over all files、directories、or other common sub-items at the same current depth.

C-x b
Switch buffers in the attached frame.

模式切换

Speedbar可以处理多种模式。有两种模式是默认的:「File模式」和「Buffer模式」。以下的快捷键可以在两种模式间快速切换:

b
Switch into Quick Buffers mode (see Buffer Mode). After one use, the previous display mode is restored.

f
Switch into File mode.

r
Switch back to the previous mode.

特殊功能的快捷键

某些模式提供了组、列表、标签(参考 Basic Visuals 笔记)。当组、列表、标签存在的时候,有几个可用的附加快捷键:

RET, e
Edit/Open the current group or tag. This behavior is dependent on the mode. In general, files or buffers are opened in the attached frame, and directories or group nodes are expanded locally.

+, =
Expand the current group, displaying sub items. When used with a prefix argument, any data that may have been cached is flushed. This is similar to a power click. See Mouse Bindings.


Contract the current group, hiding sub items.

基础视图(Basic Visuals)

鼠标绑定(Mouse Bindings)

显示子菜单(Displays Submenu)