I would like to be able to specify on bash command line set of keys that will vim execute on given file, just the same as I am doing it when manually editing, for instance, hypothetically:
vim myfile +'Gosome footer here<ESC>ggOsome header here<ESC>x'
I know that + executes Ex commands. Is there a way to do that ? Using vim only ofcourse.