Is it possible to send a command to vim from the command-line? For example, to open the last file something like:
$ vim -e "`0" # execute `0 after opening vim
Or, if I need to run a command, then:
$ vim -r ":normal!`0"
Is it possible to do this from the command-line before entering vim? When I tried running a normal
--cmd arg I get:
$ vim --cmd "normal! \`0" Error detected while processing pre-vimrc command line: E20: Mark not set Press ENTER or type command to continue