Created
September 25, 2012 07:07
-
-
Save frankyxhl/3780388 to your computer and use it in GitHub Desktop.
sr-speedbar-emacs-config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;=========================================================================== | |
;;sr-speedbar-mode | |
;;=========================================================================== | |
(require 'sr-speedbar) | |
;;默认显示所有文件 | |
(custom-set-variables | |
'(speedbar-show-unknown-files t) | |
) | |
;;sr-speedbar-right-side 把speedbar放在左侧位置 | |
;;sr-speedbar-skip-other-window-p 多窗口切换时跳过speedbar窗口 | |
;;sr-speedbar-max-width与sr-speedbar-width-x 设置宽度 | |
(custom-set-variables '(sr-speedbar-right-side nil) '(sr-speedbar-skip-other-window-p t) '(sr-speedbar-max-width 20) '(sr-speedbar-width-x 10)) | |
;; 绑定快捷键 | |
(global-set-key (kbd "s-s") 'sr-speedbar-toggle) | |
(global-set-key (kbd "s-r") 'sr-speedbar-refresh-toggle) | |
;; 打开 | |
(sr-speedbar-open) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment