 
 (add-hook 'emacs-lisp-mode-hook 'imenu-elisp-sections)
 
+(use-package workgroups2
+  :ensure t
+  :defer t
+  :init (workgroups-mode t)
+  :config
+  (progn
+    (setq wg-mode-line-decor-left-brace "["
+          wg-mode-line-decor-right-brace "]")
+
+    (add-hook 'wg-before-switch-to-workgroup-hook 'wg-save-session)))
+
 (provide 'init)
 ;;; init.el ends here

(use-package company-statistics
  :ensure t
  :defer t
  :init (add-hook 'after-init-hook 'company-statistics-mode))

(use-package savehist
  :defer t


(use-package eldoc
  :config
  (setq eldoc-idle-delay 2))

(use-package ediff
  :defer t
