I am using the vim-fugitive plugin and I encounter a strange behaviour. I don't know if it's really related to the plugin or not.
I am trying to open the
Gstatus page in a new tab. So I am creating a new tab and call Gstatus on the new tab :
:tabnew | Gstatus
And I get the following error :
E492: Not an editor command: Gstatus
Do you know what might cause the issue and how to fix it ? I can create a function to achieve this behavior, but I wanted to keep a mapping like the one I currently use :
nnoremap <Leader>gs tabnew | Gstatus<CR>
- When starting vim inside a git directory without a file, the
- When creating a new tab and running
Gstatusby hand, the command failed, even if the
pwdcommand shows the good directory.