{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/2434","labels_url":"https://api.github.com/repos/neovim/neovim/issues/2434/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/2434/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/2434/events","html_url":"https://github.com/neovim/neovim/issues/2434","id":68670553,"number":2434,"title":"Feature request: command/function to delete buffer without closing the window","user":{"login":"norcalli","id":296363,"avatar_url":"https://avatars.githubusercontent.com/u/296363?v=3","gravatar_id":"","url":"https://api.github.com/users/norcalli","html_url":"https://github.com/norcalli","followers_url":"https://api.github.com/users/norcalli/followers","following_url":"https://api.github.com/users/norcalli/following{/other_user}","gists_url":"https://api.github.com/users/norcalli/gists{/gist_id}","starred_url":"https://api.github.com/users/norcalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norcalli/subscriptions","organizations_url":"https://api.github.com/users/norcalli/orgs","repos_url":"https://api.github.com/users/norcalli/repos","events_url":"https://api.github.com/users/norcalli/events{/privacy}","received_events_url":"https://api.github.com/users/norcalli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-15T12:39:16Z","updated_at":"2015-04-15T14:11:53Z","closed_at":null,"body":"All other solutions I know of are hacks that kinda work (usually by creating a new split and then deleting the buffer in that window, and attempting to cover all possible cases for this), but intrinsic support for this would be greatly appreciated."},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/93418801","html_url":"https://github.com/neovim/neovim/issues/2434#issuecomment-93418801","issue_url":"https://api.github.com/repos/neovim/neovim/issues/2434","id":93418801,"user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T14:11:53Z","updated_at":"2015-04-15T14:11:53Z","body":"> enew! doesn't close the buffer with set hidden\r\n\r\nBut this does:\r\n\r\n```\r\nset bufhidden=delete\r\nenew!\r\n```"}}