This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/init-package/init-sr-speedbar.el

16 lines
458 B
EmacsLisp
Raw Normal View History

2013-01-05 20:21:08 +00:00
(require 'sr-speedbar)
(setq sr-speedbar-right-side nil)
(setq sr-speedbar-auto-refresh t)
(setq sr-speedbar-skip-other-window-p t)
(setq speedbar-show-unknown-files t)
(setq speedbar-verbosity-level 0)
2013-01-05 22:17:39 +00:00
(setq speedbar-use-images t)
2013-01-05 20:21:08 +00:00
(defun sr-speedbar-toggle-and-select ()
"Toggle the speedbar and give it the focus if it is opened"
(interactive)
(sr-speedbar-toggle)
(if (sr-speedbar-exist-p)
(lambda ()
(sr-speedbar-select-window))))