ctrlsf.vim icon indicating copy to clipboard operation
ctrlsf.vim copied to clipboard

Use the working folder of the search to used it to open the result file.

Open vds2212 opened this issue 11 months ago • 2 comments

This pull request intent to solve issue #344:

Fail to open the file of the search result when the working directory change

vds2212 avatar Feb 11 '25 15:02 vds2212

I think you should use g:ctrlsf_absolute_file_path option instead. This option was originally added to address the issue of potential changes in the working directory.

dyng avatar Apr 15 '25 07:04 dyng

It is indeed a solution but when your project is in a deep file structure the output of CtrlSF is clutter with the path prefix that add no value to the user.

I believe the pull request bring something to some users (;-))

vds2212 avatar Apr 15 '25 07:04 vds2212