由于ecb的method-buffer不能更新,因此抛弃ecb,speedbar的method也不能更新,换imenu-tree
使用el-get install安装imenu-tree
imenu-tree默认出现是在左边,这样和sr-speedbar重叠,很难看,因此作了个小修改
修改下载回来的imenu-tree.el,搜索imenu-tree-windata,修改
(defcustom imenu-tree-windata'(frame left 0.3 delete)
为
(defcustom imenu-tree-windata'(frame right 0.45 delete)
~/emacsConfig/imenu-tree-setting.el
(require 'imenu-tree)(setq imenu-tree-auto-update t)(global-set-key (kbd "") 'imenu-tree)