{"action":"created","issue":{"url":"https://api.github.com/repos/onivim/oni/issues/2519","repository_url":"https://api.github.com/repos/onivim/oni","labels_url":"https://api.github.com/repos/onivim/oni/issues/2519/labels{/name}","comments_url":"https://api.github.com/repos/onivim/oni/issues/2519/comments","events_url":"https://api.github.com/repos/onivim/oni/issues/2519/events","html_url":"https://github.com/onivim/oni/issues/2519","id":353084627,"node_id":"MDU6SXNzdWUzNTMwODQ2Mjc=","number":2519,"title":"Fugitive does not work in empty buffers.","user":{"login":"Mantissa-23","id":11467714,"node_id":"MDQ6VXNlcjExNDY3NzE0","avatar_url":"https://avatars1.githubusercontent.com/u/11467714?v=4","gravatar_id":"","url":"https://api.github.com/users/Mantissa-23","html_url":"https://github.com/Mantissa-23","followers_url":"https://api.github.com/users/Mantissa-23/followers","following_url":"https://api.github.com/users/Mantissa-23/following{/other_user}","gists_url":"https://api.github.com/users/Mantissa-23/gists{/gist_id}","starred_url":"https://api.github.com/users/Mantissa-23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mantissa-23/subscriptions","organizations_url":"https://api.github.com/users/Mantissa-23/orgs","repos_url":"https://api.github.com/users/Mantissa-23/repos","events_url":"https://api.github.com/users/Mantissa-23/events{/privacy}","received_events_url":"https://api.github.com/users/Mantissa-23/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-22T19:07:53Z","updated_at":"2018-08-23T06:55:37Z","closed_at":null,"author_association":"NONE","body":"<!-- Want this issue prioritized? Please consider supporting the project and becoming an insider!\r\n👉  https://www.onivim.io/Insiders -->\r\n\r\n**Oni Version:** 0.3.6\r\n**Operating System:** Windows\r\n\r\n**Issue:** When entering the :GStatus or any other Vim-Fugitive command while in an empty buffer is not behaving the same as Neovim or Vim with the same init.vim file loaded.\r\n\r\nI believe this is related to #2480, and might be indicative of some deeper issue that subtly affects certain plugins like Fugitive. I have no insight as to what the root cause of this issue might be, however.\r\n\r\n**Expected behavior:** Terminal Vim 8.0.1476 and Neovim v0.2.2 both will open the Git Status window without requiring an open buffer. I would assume that Oni is expected to behave identically.\r\n\r\n**Actual behavior:** `E492: not an editor command; Gstatus`. This does not occur if the buffer is a file open in the project.\r\n\r\n**Steps to reproduce:** My nvim dotfiles can be found [here](https://github.com/Mantissa-23/dotfiles/tree/master/.config/nvim); I have not tested with a bare configuration. Steps:\r\n\r\n1. Launch oni and `cd` into a git repository without opening any files.\r\n2. Enter `:Gstatus` or any other fugitive command"},"comment":{"url":"https://api.github.com/repos/onivim/oni/issues/comments/415311693","html_url":"https://github.com/onivim/oni/issues/2519#issuecomment-415311693","issue_url":"https://api.github.com/repos/onivim/oni/issues/2519","id":415311693,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTMxMTY5Mw==","user":{"login":"justinmk","id":1359421,"node_id":"MDQ6VXNlcjEzNTk0MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1359421?v=4","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":"2018-08-23T06:55:37Z","updated_at":"2018-08-23T06:55:37Z","author_association":"NONE","body":"fugitive never works in \"empty buffers\" except for a special-case of the first buffer on startup, because that is special-cased in fugitive. Fugitive can be made to work on any empty buffer by calling:\r\n\r\n    :call fugitive#detect(@%)"}}
{"actor":{"display_login":"justinmk"}}