How to edit search_paths dynamically?
guanghechen opened this issue · 3 comments
guanghechen commented
Hi @windwp, thank you for writing this amazing plugin, it saved my life. I noticed that specifying searched_paths
in the open
function can optimize search speed, that's a great feature, but I cannot see the option value in the opened buffer and also cannot edit it, do you have any ideas to support edit search_paths
as other query as the Search
or Replace
or Path
?
windwp commented
you can't edit it. but you can change it when you open with command :Spectre cwd=......
guanghechen commented
Okay, but why not show the searched_paths
field in the opened buffer? Since sometimes It hard to known whether the words are really not exist in any file or the files are not under the searched_path
.