weirongxu / coc-explorer

📁 Explorer for coc.nvim
MIT License
1.14k stars 45 forks source link

Enable search with `omitCenter` enabled #505

Closed Rizhiy closed 2 years ago

Rizhiy commented 2 years ago

Is your feature request related to a problem? Please describe. When omitCenter is enabled, searching for files using default vim search doesn't work.

Describe the solution you'd like Vim search works with omitCenter

Describe alternatives you've considered I tried putting the full filename at the end of the template, but this just caused the original to disappear.

Additional context Some ideas:

weirongxu commented 2 years ago

I suggest is using the search action (Default mapping to F) to find the file name, and you can use the preview:labeling (maping il) action to view more information about the file.

Rizhiy commented 2 years ago

Thanks, didn't know there was a separate search.