chrisant996 / clink-fzf

Fzf integration for Clink
MIT License
77 stars 10 forks source link

Updated example to use new --tree flag for dirx #15

Closed eblis closed 6 months ago

eblis commented 6 months ago

I updated the example to use the new --tree flag for dirx and also added assumption that you have to have dirx installed and available in %PATH%.

chrisant996 commented 6 months ago

Can I ask why? Why would one want to use tree view in fzf? Especially since fzf typically lists in reverse order, so the tree line connectors are wrong. And as soon as you filter in fzf the tree visualization is ruined, and even becomes highly misleading?

eblis commented 6 months ago

I'm using the preview window to quickly determine if I'm looking at the correct folder.

If I know what the folder structure should be i'm glancing at the preview window to double-check that I've selected the correct folder for the fzf completion i'm currently doing. The tree view helps me determine quickly if the folder structure is what I expected it to be.

But the help doesn't have to include the tree view, I just find it helpful for my use case.

chrisant996 commented 6 months ago

Ah, now I understand the scenario, thanks. And I think I understand why you wanted --bare-relative to affect --tree.

Give me a day or two to think about this.