1

Advise neotree to focus new root after changing

This commit is contained in:
Jessie Hildebrandt 2022-12-29 20:45:16 -05:00
parent 3ab3d32a74
commit 889a90e0c8

View File

@ -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")