nvim-tree / nvim-tree/nvim-tree.lua

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.

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

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.