nvim-tree / nvim-tree/nvim-tree.lua
Experimental Features: `session_restore_nvim`
@igorlfs is already working on this.
Since Jul 10, 2026.
- Dominant language
- Lua
- Stars
- 8.6k
- Forks
- 639
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
Experimental Features
nvim-tree has experimental features, previews of new functionality that will become default or optional functionality.
Please try these out and reply with your experiences. If you encounter a problem, please raise a bug report and indicate the experimental feature you are using. Please mention @igorlfs in the issue.
Restore Buffers When Restoring Vim Sessions (#3335)
When restoring a vim session, nvim-tree buffers are also restored.
Enable
experimental = {
session_restore_nvim = true,
},
On !mksession the state will be persisted in stdpath("data"), usually ~/.local/share/nvim/nvim-tree-session.json
Timeline
2026-07-10 : experimental feature released, default off
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.