Ignore frequency in favor of recently opened #91
-
Hi. I would like to say first I love this plugin. I am just wondering if there is a way when I just open it just to see only recent opened in that order only. I had a look at the code and it looks like each thing has weights. It would be great if I had access to those in order to make frequency 0. Personally I find recency to be much more relevant to my workflow. I am happy to put up a pr if there is a preferred way to implement this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
No, there isn't necessarily a way to do that, but you could just use regular However, smart-open is designed to adapt its weights as you use it. If you open up the picker and select the most recent file over the most frequent one, then smart-open adjusts those weights accordingly. After several times of selecting the recent file, the weight of frequency should drop to a negligible amount. And yes, you can also just go into the db and set other weights to But yeah I'd recommend using something purpose-built for a specific criterion if you know you care about only a specific thing. |
Beta Was this translation helpful? Give feedback.
No, there isn't necessarily a way to do that, but you could just use regular
:Telescope oldfiles
for that. It sounds like exactly what you want.However, smart-open is designed to adapt its weights as you use it. If you open up the picker and select the most recent file over the most frequent one, then smart-open adjusts those weights accordingly. After several times of selecting the recent file, the weight of frequency should drop to a negligible amount. And yes, you can also just go into the db and set other weights to
0
if you want to accelerate this process.But yeah I'd recommend using something purpose-built for a specific criterion if you know you care about only a specific thing.