{"action":"created","issue":{"url":"https://api.github.com/repos/Osmose/advanced-open-file/issues/57","labels_url":"https://api.github.com/repos/Osmose/advanced-open-file/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/Osmose/advanced-open-file/issues/57/comments","events_url":"https://api.github.com/repos/Osmose/advanced-open-file/issues/57/events","html_url":"https://github.com/Osmose/advanced-open-file/issues/57","id":109708034,"number":57,"title":"Leverage fuzzaldrin like fuzzy-finder","user":{"login":"artagnon","id":37226,"avatar_url":"https://avatars.githubusercontent.com/u/37226?v=3","gravatar_id":"","url":"https://api.github.com/users/artagnon","html_url":"https://github.com/artagnon","followers_url":"https://api.github.com/users/artagnon/followers","following_url":"https://api.github.com/users/artagnon/following{/other_user}","gists_url":"https://api.github.com/users/artagnon/gists{/gist_id}","starred_url":"https://api.github.com/users/artagnon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artagnon/subscriptions","organizations_url":"https://api.github.com/users/artagnon/orgs","repos_url":"https://api.github.com/users/artagnon/repos","events_url":"https://api.github.com/users/artagnon/events{/privacy}","received_events_url":"https://api.github.com/users/artagnon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-04T22:10:54Z","updated_at":"2015-11-09T08:21:11Z","closed_at":null,"body":"Often, I'm in the situation where the directory listing looks like:\r\n```\r\n...\r\n0092-name-lowering.txt\r\n0093-global-value-numbering.txt\r\n0094-loop-fission.txt\r\n...\r\n```\r\n\r\nI have to switch to my terminal, and `atom *global-value-numbering*`. We can leverage fuzzaldrin quite easily to ease the pain."},"comment":{"url":"https://api.github.com/repos/Osmose/advanced-open-file/issues/comments/154994602","html_url":"https://github.com/Osmose/advanced-open-file/issues/57#issuecomment-154994602","issue_url":"https://api.github.com/repos/Osmose/advanced-open-file/issues/57","id":154994602,"user":{"login":"Osmose","id":193106,"avatar_url":"https://avatars.githubusercontent.com/u/193106?v=3","gravatar_id":"","url":"https://api.github.com/users/Osmose","html_url":"https://github.com/Osmose","followers_url":"https://api.github.com/users/Osmose/followers","following_url":"https://api.github.com/users/Osmose/following{/other_user}","gists_url":"https://api.github.com/users/Osmose/gists{/gist_id}","starred_url":"https://api.github.com/users/Osmose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Osmose/subscriptions","organizations_url":"https://api.github.com/users/Osmose/orgs","repos_url":"https://api.github.com/users/Osmose/repos","events_url":"https://api.github.com/users/Osmose/events{/privacy}","received_events_url":"https://api.github.com/users/Osmose/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T08:21:11Z","updated_at":"2015-11-09T08:21:11Z","body":"I like this idea and want to add it ([and I have a bare-bones commit for it](https://github.com/Osmose/advanced-open-file/commit/3c55578053675c82a4218180195ba2783590f3c1)), but I'm not sure yet what we should do about autocomplete.\r\n\r\nSince fuzzy matching can easily lead to several paths that don't match at all, what should happen when autocomplete is attempted with fuzzy matching on?\r\n\r\n1. Remain prefix-only and simply beep if a common prefix cannot be found.\r\n2. Select the top match and add it to the path.\r\n3. Something else?"}}