     (define-key map (kbd "SPC")     'neotree-enter)
     (define-key map (kbd "TAB")     'neotree-enter)
     (define-key map (kbd "RET")     'neotree-enter)
+    (define-key map (kbd "|")       'neotree-enter-vertical-split)
+    (define-key map (kbd "-")       'neotree-enter-horizontal-split)
     (define-key map (kbd "g")       'neotree-refresh)
     (define-key map (kbd "q")       'neotree-hide)
     (define-key map (kbd "p")       'previous-line)

      t nil))

(defun neo-buffer--set-expand (node do-expand)
  "Set the expanded state of the NODE to DO-EXPAND."
  (if (not do-expand)
      (setq neo-buffer--expanded-node-list
            (neo-util--filter
             #'(lambda (x) (not (equal node x)))
             neo-buffer--expanded-node-list))
    (push node neo-buffer--expanded-node-list)))

(defun neo-buffer--toggle-expand (node)
  (neo-buffer--set-expand node (not (neo-buffer--expanded-node-p node))))

          (if neo-click-changes-root
              (neotree-change-root)
            (progn
              (let ((new-state (neo-buffer--toggle-expand btn-full-path)))
                (neo-buffer--refresh t)
                (when neo-auto-indent-point
                  (when new-state (next-line))
                  (neo-point-auto-indent)))))
        (progn
          (if (eq (safe-length (window-list)) 1)
              (neo-global--with-buffer
