 ;; Activate installed packages
 (package-initialize)
 
+;; Define personalized packages and install
 (defun ensure-package-installed (&rest packages)
   (mapcar
   (lambda (package)

  (set-frame-parameter nil 'background-mode 'dark)
  (set-terminal-parameter nil 'background-mode 'dark)
  (custom-set-variables
   '(solarized-termcolors 256))
  (custom-set-faces
   '(default ((t (:background nil))))))

(if window-system
    (setup-gui-env)

  packages))

(ensure-package-installed
  'helm
  'evil
  'color-theme-solarized
  'sublime-themes
  'zenburn-theme)

;; Required for VIM keybindings
;;(require 'evil)
