     "Don't ask for confirmation when creating files"
     (cl-letf (((symbol-function 'yes-or-no-p) (lambda (&rest _) t)))
       (apply orig-fun args)))
+
   (advice-add #'neotree-create-node :around #'+evil*neotree-create-node)
 
   ;; Adding keybindings to `neotree-mode-map' wouldn't work for me (they get

  :config (global-evil-visualstar-mode 1))


;; A side-panel for browsing my project files. Inspired by vim's NERDTree.
(def-package! neotree
  :commands (neotree-show
             neotree-hide

             neo-global--with-buffer
             neo-global--window-exists-p)
  :config
  (setq neo-create-file-auto-open nil
        neo-auto-indent-point nil
        neo-autorefresh nil
        neo-mode-line-type 'none
        neo-window-width 25
        neo-show-updir-line nil
