Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
chen bin
authored and
chen bin
committed
Mar 23, 2013
1 parent
70ce27e
commit 93f35b9
Showing
5 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
gud-mode | ||
term-mode | ||
w3m-mode | ||
speedbar-mode | ||
gnus-summary-mode | ||
gnus-article-mode | ||
calendar-mode)) | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
(autoload 'sr-speedbar-toggle "sr-speedbar") | ||
|
||
;; sr-speedbar config | ||
(setq sr-speedbar-right-side nil) | ||
(setq sr-speedbar-skip-other-window-p t) | ||
(setq sr-speedbar-auto-refresh t) | ||
|
||
(setq sr-speedbar-width-console 30) | ||
(setq sr-speedbar-width-x 30) | ||
|
||
;; regular speedbar config | ||
(setq speedbar-show-unknown-files t) | ||
(setq speedbar-verbosity-level 0) | ||
;(setq speedbar-use-images nil) | ||
|
||
(defun speedbar-edit-line-and-switch-to-window () | ||
(interactive) | ||
(speedbar-edit-line) | ||
(other-window 1)) | ||
|
||
(global-set-key (kbd "C-c j") 'sr-speedbar-toggle) | ||
(provide 'init-sr-speedbar) |
This file contains 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