New answers tagged


To answer your direct question, you can use the :let command to set a shell variable from Vim directly, using the $ prefix on the variable name. That's probably the most straightforward way to do so, even though it ends up creating an exported variable. So: let $date_given_sh = date_given_vim Or even: let $date_given_sh = "2000-01-01" See :help :...

Top 50 recent answers are included