0. tree-buffer:ecb每个窗口对应一个buffer,因为窗口元素都是按照树形组织的,所以叫 tree-buffer
配置
配置ECB帮助
(setq Info-default-directory-list
(append Info-default-directory-list
'("~/.emacs.d/ecb/info-help"))) ;~/.emacs.d/ecb/info-help 为ecb安装目录下帮助文件夹
查看ecb帮助 (1.3)
C-c . h:ecb-show-help
配置源码搜索路径 (1.3)M-x customize-option RET ecb-source-path RET
查看重要选项
ecb-customize-most-important
遇到过的选项
customize-option -> use-file-dialog 文件选择对话框
使用
1. 改变ecb窗口布局,ecb-change-layout,默认为 left-symboldef
2. 窗口的跳转
`ecb-minor-mode' Minor Mode Bindings Starting With C-c . g:
key binding
--- -------
C-c . g 1 ecb-goto-window-edit1
C-c . g 2 ecb-goto-window-edit2
C-c . g a ecb-goto-window-analyse
C-c . g b ecb-goto-window-speedbar
C-c . g c ecb-goto-window-compilation
C-c . g d ecb-goto-window-directories
C-c . g h ecb-goto-window-history
C-c . g l ecb-goto-window-edit-last
C-c . g m ecb-goto-window-methods
C-c . g s ecb-goto-window-sources
3. 弹出菜单
M-m:tree-buffer-show-menu-keyboard
C-u M-m: 基于字符的菜单
4. 浏览历史,前进,后退
C-c . n ecb-nav-goto-next
C-c . p ecb-nav-goto-previous
5. 隐藏,显示窗口
ecb-hide-ecb-windows
隐藏所有ecb添加的窗口
ecb-show-ecb-windows
显示
ecb-toggle-ecb-windows
交替隐藏和显示
6. 自定义layout中窗口大小
1. ecb-change-layout 切换到希望修改的layout(比如:left-symboldef),
2. 用鼠标拖拽窗口修改的希望的大小,然后,用ecb-store-window-sizes保存当前layout的窗口大小参数;
2.也可以直接修改参数的方式,而不用鼠标:customize-option RET ecb-layout-window-sizes RET,就可以进入修改当前layout窗口大小的设置页来。
7.layout和窗口种类
left-symboldef:
其中有一个窗口是Symbol-def,显示的是符号的定义;
参考:ecb online help