     )
   :config
   (progn
-
-    (defun modi/neotree-go-up-dir ()
-      (interactive)
-      (goto-char (point-min))
-      (forward-line 2)
-      (neotree-change-root))
-
     ;; https://github.com/jaypei/emacs-neotree/issues/58
     ;; FIX 1
     ;; `neo-persist-show' has to be set to `nil' to prevent the "Attempt to
     ;; delete minibuffer or sole ordinary window." error when hitting `TAB'
     ;; in the minibuffer. TAB > ido-complete > ido-completion-help > popwin >
     ;; delete-other-windows > activates the defadvice set in neotree.el.
-    ;;   Setting below var to nil doesn't activate that defadvice.
+    ;; Setting below var to nil doesn't activate that defadvice.
     ;; (setq-default neo-persist-show nil)
     ;; FIX 2
     ;; Fix from author: http://www.emacswiki.org/emacs/NeoTree (title Popwin)

     ("r"          . neotree-rename-node)
     ("e"          . neotree-enter))

    (bind-to-modi-map "n" neotree)))


(provide 'setup-neotree)

                (lambda () (setq neo-persist-show nil)))
      (add-hook 'popwin:after-popup-hook
                (lambda () (setq neo-persist-show t))))

    (defun modi/neotree-go-up-dir ()
      (interactive)
      (goto-char (point-min))
      (forward-line 2)
      (neotree-change-root))

    (bind-keys
     :map neotree-mode-map
