How to set obsidian default search model in "file:"

In this answer ZenMoto shows how to preset some text in the search. This can be simplified into just inserting file:, I reckon.