                     (spacemacs/neotree-collapse)
                   (neotree-select-up-node))
               (neotree-select-up-node)))))
+
+      (defun neotree-find-project-root ()
+        (interactive)
+        (if (neo-global--window-exists-p)
+            (neotree-hide)
+          (neotree-find (projectile-project-root))))
 
       (defun spacemacs//neotree-key-bindings ()
         "Set the key bindings for a neotree buffer."

(defun spacemacs/init-neotree ()
  (use-package neotree
    :defer t
    :init
    (progn
      (add-to-list 'evil-motion-state-modes 'neotree-mode)

               projectile-find-tag
               projectile-kill-buffers
               projectile-recentf
               projectile-invalidate-cache
               projectile-project-root
               )
    :init
    (progn
      (setq-default projectile-enable-caching t)
