 
 ;;(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
 (if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
-;;(if (fboundp 'scroll-bar-mode) (scroll-bar-mode t))
+(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
 
 (require 'package)
 (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")

(use-package ido :ensure t
  :init
  (ido-mode t))
(use-package  visual-regexp  :ensure t  :defer t)
(use-package projectile  :ensure t  :defer t
  :init (progn
          (add-hook 'prog-mode-hook 'projectile-mode)))


;; (global-projectile-mode t)
(use-package switch-window  :ensure t  :defer t
  :bind ("C-x o" . switch-window))
(use-package clojure-mode  :ensure t  :defer t)
(use-package cider  :ensure t  :defer t)
(use-package clj-refactor  :ensure t  :defer t)

(global-set-key (kbd "<S-f2>") 'bm-previous)
(use-package bookmark+  :ensure t  :defer t)
(use-package browse-kill-ring+  :ensure t  :defer t)
(use-package project-persist  :ensure t  :defer t
  :config    (projectile-global-mode t))
(project-persist-mode t)
(use-package helm-descbinds  :ensure t  :defer t)

(use-package emacs-eclim  :defer t  :load-path "~/Development/repos/emacs/emacs-eclim"
  :bind ("C-c C-c" . company-complete)
  :config (progn
            (add-hook 'prog-mode-hook 'eclim-mode)
            (company-emacs-eclim-setup)))

;;(require 'eclim)
;;(global-eclim-mode)
