Open naquad opened 1 year ago
Yeah, currently it's a bit inconveniet to do that: we have to run a pre-configured command. This isn't good. We have to modify find_files
picker.
As mentioned in https://github.com/nvim-telescope/telescope.nvim/issues/2874 you can write a wrapper function that re-executes the finder when a keybinding is pressed.
Avoiding this by allowing telescope to do this live would be a significant improvement, IMO.
I don't see any significant improvements over that snippet. Not sure what allowing telescope to "to this live" means either. Re-executing the finder is pretty much required I believe, considering you're changing the search parameters and changing the results which need filtering.
Is your feature request related to a problem? Please describe. Scripting languages package managers such as NPM/Yarn, Composer, Bundler, Python's venv, and so forth are installing the dependencies into a folder within the project, this folder is added to the
.gitignore
file.Telescope respects the .gitignore unless
no_ignore
argument is explicitly passed. While it is ok for most of the cases, when one does the code digging of the project + its dependencies, Telescope restart is required (close the Telescope window, invoke again withno_ignore
, and type in the same prompt) which is somewhat clumsy.Describe the solution you'd like A keymap that would dynamically change the
no_ignore
and refine the results that can be used in the Telescope's prompt.