Expected behavior: in the quick switcher, matching the beginning of a word should result in a higher rank than matching the middle of a word.
Example: if I search for “wat”, I would expect to see results ranked like so:
- uuuuh wat
- nifty words/wat
- twat
instead, I currently see results ordered like
- nifty words/wat
- twat
- uuuuh wat
“uuuuh wat” should be first because it matches /[\^\s]wat/
. “nifty words/wat” should be second because it matches /[^\w]wat/
. “twat” should be third because it matches /wat/
.
To be clear: this is not an issue with the file matching in the quick switches, only the sorting of results.