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

View Currently Enabled Filters

Open
#3,204 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Problem

After toggling multiple filters several times, I am unsure which filters are currently enabled.
For example, if I want to switch to having only the Bookmark filter enabled, I have to guess by toggling whether Git Ignore, Git Clean, or Buffer have been disabled, which is error-prone.

Proposed Solution 1

  • Add a new shortcut key.
Image
  • When the shortcut key is pressed, a window appears displaying the list of currently enabled filters.
Image

(The layout and text in the example are only for reference — as long as it can show the enabled filters in the end, that’s fine)

Proposed Solution 2

  • Add a shortcut key to reset the filters (for example, r). That way, I can press "rB" to switch to having only the Bookmark filter enabled.

see also : discussions#3203

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

Start by reviewing this issue and discussions#3203, then locate the existing filter shortcut handling and related UI entry points in the repository. Done means users can either view the currently enabled filters or reset them through a shortcut, with the chosen behavior working consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
cli
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.