Make typing | while creating a link autocomplete the selected file path

it’s implemented this way otherwise you couldn’t (easily) add an alias to a non existing note.