Comments
-
Greg Hurrell
Cross-referencing from this comment on issue #1710:
Take a look at ticket #1541 ('"Learn" from previous selections'). The idea proposed there is that the plug-in remembers which files you choose for any given search string and then in future searches adds a "bonus" to the score of such items when you enter that same search string again.
So in your example, you type "br", wanting to open
billing_report.php
, and it's not the top search result so you actually end up using the cursor keys to move down and select it. The next time you type "br", Command-T applies a small bonus tobilling_report.php
, pushing it slightly higher up the results listing. You again use the cursor keys to move down and select it and so the bonus is bumped up a little higher. Next time you type "br", the bonus is big enough to makebilling_report.php
the top result.What do you think of that one? I'm inclined to think that this would be a nice, intuitive way to transparently give you the behavior you're looking for without obliging users to spend time maintaing a special mappings file.
The only tricky part of this would be fine-tuning the implementation details (how much should the "bonus" fluctuate up or down when you select a file or later select a different one?) but nothing insurmountable.
-
Greg Hurrell
Related request via user email:
it would be great if command-t would sort a little bit different. If there is a match in files that was already used in the last few days, it should put those files on the top. Those files should be orderd by usage. the more recent the file was used, the more on top it sould be.
Add a comment
Comments are now closed for this issue.