 
 (use-package projectile
   :diminish projectile-mode
-  :config (projectile-global-mode)
+  :config (projectile-mode)
   :bind-keymap
   ("C-c p" . projectile-command-map)
   :init

(use-package evil-nerd-commenter
  :bind ("M-/" . evilnc-comment-or-uncomment-lines))

;; This configuration seems to work but might need tweaking
(setq whitespace-action '(auto-cleanup))
(setq whitespace-style '(trailing space-before-tab indentation empty space-after-tab))
(global-whitespace-mode)

(use-package parinfer
  :hook ((clojure-mode . parinfer-mode)

        org-tree-slide-deactivate-message "Presentation ended."
        org-tree-slide-header t))

(defun dw/generate-site ()
  (interactive)
  (start-process-shell-command "emacs" nil "emacs --batch -l ~/Projects/Writing/Blog/publish.el --funcall dw/publish"))

(use-package magit
  :commands (magit-status magit-get-current-branch)
  :custom
