-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neotree per frame #5682
Comments
According to jaypei/emacs-neotree#57, Neotree doesn't support this feature. Maybe hooking an update of Neotree's buffer into various places1 can serve as an ad-hoc solution. I'm thinking of using the single Neotree buffer in all relevant frames/layouts/workspaces, but have its contents update to the current frame/layout/workspace automatically. Still isn't as good as proper multiple buffer support, though. If you only want projectile+neotree synchronization, you can try one of these, and maybe make a PR if any of them seems to work well. ;; option 1
(add-hook 'projectile-after-switch-project-hook 'neotree-projectile-action)
;; option 2
(setq projectile-switch-project-action 'neotree-projectile-action) 1 various places: frame switch, layout (perspective) switch, workspace (eyebrowse) switch, project switch, ... |
Hi @bmag, thank you for looking into this. Unfortunately I did not find that issue. My work around currently is to run multiple instances of Emacs, one per project, each one maintaining one frame and it's neotree buffer. |
Oh man, I'm super interested in this and almost opened a duplicate bug report. I'm going to try out those hooks. |
That works for me. I'm now able to bounce around projects and use neotree. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Hello.
I usually open multiple frames with one project each. For each project/frame I would like to have one
neotree
buffer. Unfortunately it seems that there can only exist oneneotree
per Emacs instance which means that opening it in one frame will close the one in the other frame. Do you see any reason in spacemacs for this behauvior? I couldn't find any information on that in general.Thank you in advance!
Best regards
christoph
The text was updated successfully, but these errors were encountered: