{"action":"created","issue":{"url":"https://api.github.com/repos/magit/magit/issues/2541","repository_url":"https://api.github.com/repos/magit/magit","labels_url":"https://api.github.com/repos/magit/magit/issues/2541/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/2541/comments","events_url":"https://api.github.com/repos/magit/magit/issues/2541/events","html_url":"https://github.com/magit/magit/issues/2541","id":131678432,"number":2541,"title":"Option to make magit-status always open in current window","user":{"login":"jimeh","id":39563,"avatar_url":"https://avatars.githubusercontent.com/u/39563?v=3","gravatar_id":"","url":"https://api.github.com/users/jimeh","html_url":"https://github.com/jimeh","followers_url":"https://api.github.com/users/jimeh/followers","following_url":"https://api.github.com/users/jimeh/following{/other_user}","gists_url":"https://api.github.com/users/jimeh/gists{/gist_id}","starred_url":"https://api.github.com/users/jimeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimeh/subscriptions","organizations_url":"https://api.github.com/users/jimeh/orgs","repos_url":"https://api.github.com/users/jimeh/repos","events_url":"https://api.github.com/users/jimeh/events{/privacy}","received_events_url":"https://api.github.com/users/jimeh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magit/magit/labels/support","name":"support","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-05T15:56:28Z","updated_at":"2016-03-11T12:16:00Z","closed_at":"2016-02-06T18:45:20Z","body":"Since I updated magit, it always opens in a \"other\" window now. I recall earlier last year there were a few options around this behavior, and they changed names a few times, the most recent one I set in my config was `magit-status-buffer-switch-function` to `'switch-to-buffer` which made it open in the current buffer as I like.\r\n\r\nBut now there doesn't seem to be any options for it. And sadly my lisp skills aren't good enough to dig through the code and the find the solution in 5 minutes. Hence any possible of adding back such an option, or pointing me in the right direction to make magit behave that way?\r\n\r\nThanks :)"},"comment":{"url":"https://api.github.com/repos/magit/magit/issues/comments/195345813","html_url":"https://github.com/magit/magit/issues/2541#issuecomment-195345813","issue_url":"https://api.github.com/repos/magit/magit/issues/2541","id":195345813,"user":{"login":"fxleblanc","id":5315391,"avatar_url":"https://avatars.githubusercontent.com/u/5315391?v=3","gravatar_id":"","url":"https://api.github.com/users/fxleblanc","html_url":"https://github.com/fxleblanc","followers_url":"https://api.github.com/users/fxleblanc/followers","following_url":"https://api.github.com/users/fxleblanc/following{/other_user}","gists_url":"https://api.github.com/users/fxleblanc/gists{/gist_id}","starred_url":"https://api.github.com/users/fxleblanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxleblanc/subscriptions","organizations_url":"https://api.github.com/users/fxleblanc/orgs","repos_url":"https://api.github.com/users/fxleblanc/repos","events_url":"https://api.github.com/users/fxleblanc/events{/privacy}","received_events_url":"https://api.github.com/users/fxleblanc/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T12:16:00Z","updated_at":"2016-03-11T12:16:00Z","body":"@kyleam Thanks for the snippet. This is exactly what I was looking for. Only one thing(at least on my part), when I activate the commit behavior in my magit status window, I get only the diff window and not a split between the commit message and the diff. I therefore have to switch manually to the COMMIT_MSG buffer to type in my commit. "}}