 ;; (setq display-buffer-function 'popwin:display-buffer)
 (push '("^\*helm .+\*$" :regexp t) popwin:special-display-config)
 (add-hook 'helm-after-initialize-hook (lambda ()
-                                          (popwin:display-buffer helm-buffer t)
-                                          (popwin-mode -1)))
+                                        (popwin:display-buffer helm-buffer t)
+                                        (popwin-mode -1)))
 
- ;;  Restore popwin-mode after a Helm session finishes.
- (add-hook 'helm-cleanup-hook (lambda () (popwin-mode 1)))
+;;  Restore popwin-mode after a Helm session finishes.
+(add-hook 'helm-cleanup-hook (lambda () (popwin-mode 1)))
 
 
 ;; configure helm keybindings

;; account for windows
(if (equal system-type 'windows-nt)
    (progn (setq explicit-shell-file-name

;; hc-zenburn theme
(load-theme 'hc-zenburn t)

(defun zencolor (colorname)
  "Convert hc-zenburn color symbol to hex string"
  (cdr (assoc (symbol-name colorname) hc-zenburn-colors-alist))
  )

(print hc-zenburn-colors-alist)

;; visual customizations
(set-face-attribute 'mode-line nil :box `(:line-width -1 :color ,(zencolor 'hc-zenburn-bg+1) :style nil))
(set-face-attribute 'mode-line-inactive nil
                    :box `(:line-width -1 :color ,(zencolor 'hc-zenburn-bg+1) :style nil))

;; Javascript customizations
(setq js-indent-level 2)
;; Python customizations
