danielfalk / smart-open.nvim

Neovim plugin for fast file-finding
MIT License
498 stars 25 forks source link

Doesn't find history files outside working directory #50

Closed hanspinckaers closed 10 months ago

hanspinckaers commented 10 months ago

Is it possible to also add historical files independent from the working directory?

Thanks!

danielfalk commented 10 months ago

It already works this way, however file matches in your working directory get a bit of a scoring boost. How much of a boost they receive depends on your usage.

hanspinckaers commented 10 months ago

For me it doesn't seem to show files outside sadly:

smart-open.nvim:

Screenshot 2023-11-24 at 09 41 47

oldfiles Telescope: compare

This is both in the same working directory (:pwd is the same)

danielfalk commented 10 months ago

If pwd is different, do the files show up in smart_open? Are you using the cwd_only setting?

hanspinckaers commented 10 months ago

You're correct, my cwd_only was set to true 😅

Thanks for the awesome extension!