nvim-tree / nvim-tree/nvim-tree.lua
View Currently Enabled Filters
Nobody has claimed this yet.
- 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.
- When the shortcut key is pressed, a window appears displaying the list of currently enabled filters.
(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
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.
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