Skip to content

Commit

Permalink
Added sr-speedbar support
Browse files Browse the repository at this point in the history
  • Loading branch information
isterin committed Jan 29, 2012
1 parent 0f1052c commit 2aa0317
Show file tree
Hide file tree
Showing 4 changed files with 637 additions and 2 deletions.
2 changes: 1 addition & 1 deletion customizations/modes.el
Expand Up @@ -12,7 +12,7 @@
(message "setting ensime....")
;; This is ugly, find a way to use env variables
(getmyenv "ENSIME_HOME") ;; Needed to make the ensime script succeed
(set-variable 'ensime-default-server-cmd "~/.emacs.d/vendor/ensime/server")
(setq ensime-default-server-cmd "~/.emacs.d/vendor/ensime/server")


;; Lisp
Expand Down
10 changes: 9 additions & 1 deletion customizations/ui.el
Expand Up @@ -31,4 +31,12 @@
(global-set-key (kbd "S-s-<down>") 'windmove-down)

(global-set-key (kbd "s-}") 'next-buffer)
(global-set-key (kbd "s-{") 'previous-buffer)
(global-set-key (kbd "s-{") 'previous-buffer)


(global-set-key (kbd "s-1") (lambda ()
(interactive)
(sr-speedbar-toggle)
(sr-speedbar-select-window)))
(setq sr-speedbar-width 30
sr-speedbar-width-x 30)
1 change: 1 addition & 0 deletions init.el
Expand Up @@ -31,6 +31,7 @@
(vendor 'color-theme-solarized)
(add-to-list 'load-path "~/.emacs.d/vendor/scala-mode") ;; This must be done without autorequire
(vendor 'ensime)
(vendor 'sr-speedbar)

; load customizations
(mapcar 'load-directory '("~/.emacs.d/customizations"))

0 comments on commit 2aa0317

Please sign in to comment.