Experimental Features: `session_restore_nvim`
@igorlfs is already working on this.
Since Jul 10, 2026.
Assessment
This issue has not been assessed yet.
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
- Dominant language
- Lua
- Stars
- 8.7k
- Forks
- 638
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from nvim-tree/nvim-tree.lua
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nvim-tree/nvim-tree.lua#3357 · 1 comment ·
-
Migrate To vim.packOpendocumentation PR please
Difficulty 1/5 Under an hour Newbie friendliness 65/100
nvim-tree/nvim-tree.lua#3179 · 6 comments ·
-
upstream: neovim
Difficulty 4/5 3-5 days Newbie friendliness 38/100
nvim-tree/nvim-tree.lua#3344 · 1 comment ·
-
feature request
Difficulty 5/5 Over a week Newbie friendliness 35/100
nvim-tree/nvim-tree.lua#3341 · 1 comment ·
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 35/100
nvim-tree/nvim-tree.lua#3330 · 1 comment ·
All issues in nvim-tree/nvim-tree.lua
Similar issues
-
Zenmap
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
revisit-at-release statusline
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
neovim/neovim#42188 · 1 comment ·
Maintainers usually reply within 1 day
-
[Aska] IssueOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pterodactyl/game-eggs#640 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days