diff --git a/init.el b/init.el index 8940081..91a5680 100644 --- a/init.el +++ b/init.el @@ -1207,6 +1207,8 @@ DOCSTRING is an optional form that is discarded upon expansion." (external-package neotree "Displays an interactive directory/file tree in a side window." + :config + (advice-add 'neotree-change-root :after (lambda () (goto-char (point-min)))) :custom (neo-smart-open t "Jump to current file when focusing the neotree window") (neo-window-width 30 "Limit neotree window width to 30 columns")