{"action":"closed","issue":{"url":"https://api.github.com/repos/lambdalisue/vim-gista/issues/46","labels_url":"https://api.github.com/repos/lambdalisue/vim-gista/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/lambdalisue/vim-gista/issues/46/comments","events_url":"https://api.github.com/repos/lambdalisue/vim-gista/issues/46/events","html_url":"https://github.com/lambdalisue/vim-gista/issues/46","id":118357377,"number":46,"title":"Make harder to publish something by accident","user":{"login":"suy","id":1200609,"avatar_url":"https://avatars.githubusercontent.com/u/1200609?v=3","gravatar_id":"","url":"https://api.github.com/users/suy","html_url":"https://github.com/suy","followers_url":"https://api.github.com/users/suy/followers","following_url":"https://api.github.com/users/suy/following{/other_user}","gists_url":"https://api.github.com/users/suy/gists{/gist_id}","starred_url":"https://api.github.com/users/suy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suy/subscriptions","organizations_url":"https://api.github.com/users/suy/orgs","repos_url":"https://api.github.com/users/suy/repos","events_url":"https://api.github.com/users/suy/events{/privacy}","received_events_url":"https://api.github.com/users/suy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lambdalisue/vim-gista/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-23T10:51:30Z","updated_at":"2016-01-14T09:33:46Z","closed_at":"2016-01-14T09:33:46Z","body":"Hi.\r\n\r\nI just installed gista, and I accidentally published something I did not want to publish. I opened vim, and the startify.vim buffer appeared. I run :Gista for the first time, but I wanted to do :Gista --list instead. I tried to cancel pressing Ctrl+C and not entering any information in the prompts, but I ended up publishing anonymously the current buffer, which contains the list of recently opened files and repositories that I had, which leaked a bit of private information. Since it is posted anonymously, I can't delete it. Is nothing critical, and doesn't seem to be reachable without the URL, but still a bit it could be problematic.\r\n\r\nI'll try to be more careful the next time, but I would not mind something to make mistakes like this harder. Specially for publishing all the opened buffers. Maybe making :Gista (with no arguments) list instead of post a gist by default, or with an option to force the user to confirm before publishing.\r\n\r\nBesides that, the plugin looks awesome. Thank you. :)"}}