When I start vim with an ex-command as command line parameter, it won't show up in vim's command history. Why? Can I tell vim to do so?
vim -c 'execute "help -c"'
Why I'm asking:
After grepping (with rg) in the command line, sometimes I want to open the results in vim. That's why I made a script that opens vim with the last ripgrep search as parameter, for example:
nvim -c 'execute "RgRaw failed --glob !lib"'
After closing the search (inside vim), I would like to simply repeat (and maybe adapt) this search via :up.