oh awesome, thanks! Now if only there was a way to also make it default to searching for filenames instead of text contents.
I do this to swap the shortcuts Reply and Reply All in Mail.app as well, so that I always reply everyone when pressing ⌘R.
See https://support.apple.com/en-gb/guide/mac-help/mchlp2271/mac