Use global search for link autocomplete

This is a great suggestion. For example, typing #xyz could dramatically reduce the scope of link suggestions. This would be especially helpful if link suggestions could search by content instead of only by file name, as suggested here