Add autocompletion for multiple files

When there are multiple files displayed in the mini-editor, pressing 'tab' will cause the fancy-new-file editor to autocomplete to the longest common prefix of the visible files.