     (setq org-src-fontify-natively t)
     (setq org-agenda-files (list "~/brainDump/projectStack.org"
                                  "~/brainDump/currentWeek.org"
-                                 "~/brainDump/currentMonth.org"))))
-
-(add-hook 'org-mode-hook
-          (function (lambda ()
-                      (ispell-minor-mode t))))
+                                 "~/brainDump/currentMonth.org")))
+  :config
+  (add-hook 'org-mode-hook 'ispell-minor-mode))
+
 
 (set-frame-parameter nil 'fullscreen 'fullboth)
 (setq inhibit-splash-screen t)

(show-paren-mode t)
(setq show-paren-style 'expression)

;; take care of trailing whitespace
(setq-default show-trailing-whitespace t)
(add-hook 'before-save-hook 'delete-trailing-whitespace)

(define-key global-map (kbd "RET") 'newline-and-indent)

;;php mode
(use-package php-mode
  :mode ("\\.php$" "\\.inc$"))

;; shell mode
(add-hook 'shell-mode-hook
          (lambda ()
            (linum-mode -1)))

;; eshell mode
(add-hook 'eshell-mode-hook
          (lambda ()
            (linum-mode -1)))

;; faster buffer switch
(define-prefix-command 'vim-buffer-jump)


(use-package whitespace
  :defer 2
  :config
  (progn
    (add-hook 'before-save-hook 'delete-trailing-whitespace)
    (setq-default show-trailing-whitespace t)
    (setq whitespace-style '(face empty tabs lines-tail trailing))
    (global-whitespace-mode t)))

