I'm trying to make my life easier with vim fugitive and ex command line, by creating an abbreviation to a frequent task, which is switching to develop, pulling it and creating new branch.
That's my abbreviation:
cab gcdp G checkout develop <bar> :G pull <bar> :G checkout -b
I was hoping that it will stop execution after last command and allow me to input name of the branch. Apparently it is not default behaviour. Vim will execute every command without stopping and I will get
error: switch -b requires a value
I went trough ex command line dosc but could not find anything that would help me.