Timeline for Open Gstatus in new tab

Current License: CC BY-SA 3.0

13 events
when toggle format what by license comment
Sep 8 '15 at 15:23 answer Peter Rincker timeline score: 7
Sep 8 '15 at 14:50 answer VanLaser timeline score: 5
Sep 8 '15 at 11:51 comment added VanLaser Yes, Gstatus only works with a tracked file loaded as the current buffer ...
Sep 8 '15 at 11:31 comment added nobe4 I tried the following : vim tracked_file : Gstatus works. Then I open a new buffer and I close the existing one with new and quit. And now the Gstatus doesn't work.
Sep 8 '15 at 11:29 comment added VanLaser Does it work anytime you are in a git directory, afterwards (i.e. during a Vim session, no loaded buffers)? In any case, the docs specifically say that that is not the intended behavior. So, I don't know what do you expect.
Sep 8 '15 at 11:25 comment added nobe4 Right, but as my edit stated, the Gstatus work event when I open vim without a file... Can it be a config-specific trouble ?
Sep 8 '15 at 11:20 comment added VanLaser BTW, Gstatus should not work without a file, even if in the right folder. It's the first item on the FAQ: github.com/tpope/vim-fugitive
Sep 8 '15 at 11:18 history edited nobe4 CC BY-SA 3.0
added 227 characters in body
Sep 8 '15 at 11:13 comment added nobe4 My bad, it doesn't. I must have tested with a file open. I edited my question
Sep 8 '15 at 11:11 comment added VanLaser I just tested (with tabnew) and it doesn't. This is consistent with the docs :h fugitive-commands
Sep 8 '15 at 11:09 comment added nobe4 I understand, but if I run the Gstatus command by hand after the newtab the command runs without problem
Sep 8 '15 at 11:07 comment added VanLaser Well, it's probably because when you create a new tab, you are also in a new buffer ... and :Gstatus needs the current buffer to be under version control (git).
Sep 8 '15 at 5:23 history asked nobe4 CC BY-SA 3.0