{"action":"created","issue":{"url":"https://api.github.com/repos/echuraev/translate-shell.vim/issues/3","repository_url":"https://api.github.com/repos/echuraev/translate-shell.vim","labels_url":"https://api.github.com/repos/echuraev/translate-shell.vim/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/echuraev/translate-shell.vim/issues/3/comments","events_url":"https://api.github.com/repos/echuraev/translate-shell.vim/issues/3/events","html_url":"https://github.com/echuraev/translate-shell.vim/issues/3","id":373617257,"node_id":"MDU6SXNzdWUzNzM2MTcyNTc=","number":3,"title":"Do not open buffer if result is empty","user":{"login":"oblitum","id":1269815,"node_id":"MDQ6VXNlcjEyNjk4MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1269815?v=4","gravatar_id":"","url":"https://api.github.com/users/oblitum","html_url":"https://github.com/oblitum","followers_url":"https://api.github.com/users/oblitum/followers","following_url":"https://api.github.com/users/oblitum/following{/other_user}","gists_url":"https://api.github.com/users/oblitum/gists{/gist_id}","starred_url":"https://api.github.com/users/oblitum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblitum/subscriptions","organizations_url":"https://api.github.com/users/oblitum/orgs","repos_url":"https://api.github.com/users/oblitum/repos","events_url":"https://api.github.com/users/oblitum/events{/privacy}","received_events_url":"https://api.github.com/users/oblitum/received_events","type":"User","site_admin":false},"labels":[{"id":931596782,"node_id":"MDU6TGFiZWw5MzE1OTY3ODI=","url":"https://api.github.com/repos/echuraev/translate-shell.vim/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"echuraev","id":5525113,"node_id":"MDQ6VXNlcjU1MjUxMTM=","avatar_url":"https://avatars2.githubusercontent.com/u/5525113?v=4","gravatar_id":"","url":"https://api.github.com/users/echuraev","html_url":"https://github.com/echuraev","followers_url":"https://api.github.com/users/echuraev/followers","following_url":"https://api.github.com/users/echuraev/following{/other_user}","gists_url":"https://api.github.com/users/echuraev/gists{/gist_id}","starred_url":"https://api.github.com/users/echuraev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echuraev/subscriptions","organizations_url":"https://api.github.com/users/echuraev/orgs","repos_url":"https://api.github.com/users/echuraev/repos","events_url":"https://api.github.com/users/echuraev/events{/privacy}","received_events_url":"https://api.github.com/users/echuraev/received_events","type":"User","site_admin":false},"assignees":[{"login":"echuraev","id":5525113,"node_id":"MDQ6VXNlcjU1MjUxMTM=","avatar_url":"https://avatars2.githubusercontent.com/u/5525113?v=4","gravatar_id":"","url":"https://api.github.com/users/echuraev","html_url":"https://github.com/echuraev","followers_url":"https://api.github.com/users/echuraev/followers","following_url":"https://api.github.com/users/echuraev/following{/other_user}","gists_url":"https://api.github.com/users/echuraev/gists{/gist_id}","starred_url":"https://api.github.com/users/echuraev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echuraev/subscriptions","organizations_url":"https://api.github.com/users/echuraev/orgs","repos_url":"https://api.github.com/users/echuraev/repos","events_url":"https://api.github.com/users/echuraev/events{/privacy}","received_events_url":"https://api.github.com/users/echuraev/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-24T18:29:05Z","updated_at":"2018-10-24T19:12:42Z","closed_at":null,"author_association":"NONE","body":"First of all, awesome plugin. I'd like to suggest to not open the translate window if the translation result is empty, more importantly for me is because I've just installed the plugin and the first thing I tried was text-to-speech with `:Trans -no-translate -speak`, so I just wanted to hear audio without any text output, but despite that the translation window was open and I had to close it.\r\n\r\nAnother suggestion is to provide <kbd>q</kbd> as a default mapping in the translation window, for closing it. It's common that file manager plugins to do that (like [vimfiler](https://github.com/Shougo/vimfiler.vim) for example, Goyo also does this)."},"comment":{"url":"https://api.github.com/repos/echuraev/translate-shell.vim/issues/comments/432791751","html_url":"https://github.com/echuraev/translate-shell.vim/issues/3#issuecomment-432791751","issue_url":"https://api.github.com/repos/echuraev/translate-shell.vim/issues/3","id":432791751,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjc5MTc1MQ==","user":{"login":"oblitum","id":1269815,"node_id":"MDQ6VXNlcjEyNjk4MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1269815?v=4","gravatar_id":"","url":"https://api.github.com/users/oblitum","html_url":"https://github.com/oblitum","followers_url":"https://api.github.com/users/oblitum/followers","following_url":"https://api.github.com/users/oblitum/following{/other_user}","gists_url":"https://api.github.com/users/oblitum/gists{/gist_id}","starred_url":"https://api.github.com/users/oblitum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblitum/subscriptions","organizations_url":"https://api.github.com/users/oblitum/orgs","repos_url":"https://api.github.com/users/oblitum/repos","events_url":"https://api.github.com/users/oblitum/events{/privacy}","received_events_url":"https://api.github.com/users/oblitum/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T19:12:42Z","updated_at":"2018-10-24T19:12:42Z","author_association":"NONE","body":"@echuraev OK thanks! Another thing that came to mind for me would be to unify `:Trans` and `:TransVisual` into a single command? I'm not sure why there are two of them. I have some commands on my `.vimrc` for example, that work with ranges and if the range is empty it just do a unitary thing."}}
{"actor":{"display_login":"oblitum"}}