Shougo / defx.nvim

:file_folder: The dark powered file explorer implementation for neovim/Vim8
MIT License
1.17k stars 86 forks source link

support -search=path not relative to current dir #319

Closed v6cc closed 3 years ago

v6cc commented 3 years ago

now -search need full path, but only can found file relative to current dir, feel confused

hope full path can found file in other dir

A use case is I hope search current file

but now

Defx            -no-toggle -no-focus -search=`expand('%:p')      can't found other dir file;  
Defx `getcwd()` -no-toggle -no-focus -search=`expand('%:p')`     cause change dir when file relative to current dir
Shougo commented 3 years ago

I have added relative path support.

Shougo commented 3 years ago

Well, I have confused. It seems new feature.