Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting vim-fugitive from command line

I really like Fugitive (VIM git wrapper plugin) However I would like to create a script that starts vim and then runs

:Gstatus 

immediately. However when I try

vim -c Gstatus

I get an error stating that Gstatus is not an editor command

like image 618
bradgonesurfing Avatar asked Feb 04 '13 08:02

bradgonesurfing


1 Answers

vim +Gstatus +only works. I have it aliased to vimg

like image 158
jsm3031 Avatar answered Sep 19 '22 13:09

jsm3031