{"action":"opened","issue":{"url":"https://api.github.com/repos/rosshemsley/iOpener/issues/30","repository_url":"https://api.github.com/repos/rosshemsley/iOpener","labels_url":"https://api.github.com/repos/rosshemsley/iOpener/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/rosshemsley/iOpener/issues/30/comments","events_url":"https://api.github.com/repos/rosshemsley/iOpener/issues/30/events","html_url":"https://github.com/rosshemsley/iOpener/issues/30","id":182596231,"number":30,"title":"absolute path at end of current path should find existing dir","user":{"login":"michaeldurland","id":4379812,"avatar_url":"https://avatars.githubusercontent.com/u/4379812?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeldurland","html_url":"https://github.com/michaeldurland","followers_url":"https://api.github.com/users/michaeldurland/followers","following_url":"https://api.github.com/users/michaeldurland/following{/other_user}","gists_url":"https://api.github.com/users/michaeldurland/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeldurland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeldurland/subscriptions","organizations_url":"https://api.github.com/users/michaeldurland/orgs","repos_url":"https://api.github.com/users/michaeldurland/repos","events_url":"https://api.github.com/users/michaeldurland/events{/privacy}","received_events_url":"https://api.github.com/users/michaeldurland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-12T18:17:42Z","updated_at":"2016-10-12T18:17:42Z","closed_at":null,"body":"Hi,\r\nI love iOpener!\r\nI have a small enhancement request: If I enter an absolute path at the end of the current path, then it should resolve to the new path instead of trying to append to the existing path.\r\ne.g. I hit ctrl+o and get:\r\n/data/projects/my_project/\r\nwhich is where the current file is located. So far so good. Now I want to open a file in my home directory, say my .bashrc file. I want to be able to type it right at the iOpener prompt like this:\r\n/data/projects/my_project/~/.bashrc\r\nBut iOpener thinks this path doesn't exist, well, because it doesn't exist. The enhancement is to recognize when an absolute path is being entered and trigger resolving to just that path instead of trying to use the entire path in the prompt. So the above should resolve to just \"~/.bashrc\" and be able to find an open the file. Currently I have to backspace over the existing path to enter the absolute path I want.\r\nSame for non-home directories. e.g. start with:\r\n/data/projects/my_project/\r\nand type at the end to get:\r\n/data/projects/my_project//tools/config/my_file.cfg\r\nshould resolve to just \"/tools/config/my_file.cfg\".\r\nThe tab key should do the resolution too to prompt files in the new directory. e.g.:\r\n/data/projects/my_project//tools/config/<tab>\r\nshould prompt to show files in the /tools/config directory.\r\nThanks!\r\nMichael\r\n\r\n\r\n"}}
{"actor":{"display_login":"michaeldurland"}}