I often start new projects in the same way. I guess it exists a way to be fast a starting a project.
For example: I am trying to start new composer project with the following function. I perfectly see the string
'New Project name: '.
But when I press enter, my cursor just goes on top of current file.
function! CreateProject() let new_name = input('New Project name: ') exec '!composer create-project foo/bar ' + l:new_name + ' 1.0.0' endfunction