Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Experimental Features: `session_restore_nvim`

Open
#3,343 3 comments 0 reactions 1 assignee View on GitHub

@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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nvim-tree/nvim-tree.lua

All issues in nvim-tree/nvim-tree.lua

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.