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

Use Window Picker Even When Buffer Window Is Present

Open
#2,388 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request PR please
Dominant language
Lua
Stars
8.6k
Forks
639
Avg merge
1d 14h
Merged PRs (30d)
2

Description

Can this functionality be implemented utilising API?
Looking at the docs I don't think so, seems this needs to hook into how files are opened.

Is your feature request related to a problem? Please describe.
Right now if I browse in nvim-tree and hit enter it always seems to open on the right unless I enable the picker. The picker however doesn't seem very useful since it always triggers.

Describe the solution you'd like
A configuration option to always open on the left.

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.

Research direction

No file or test is named. Start by tracing nvim-tree's file-opening and window-picker configuration, then check how an existing buffer window affects the selected destination. Done means a configuration option consistently opens browsed files on the left without forcing the picker to trigger every time.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.