ben lieb wrote:
I want to send the full path of the current buffer to a command line
script like this:

:!command <thisFile>

What symbol do I use to represent <thisFile>, meaning the current buffer?

This seems like an easy one, but I can't figure it out.


Usually,

        :!command %

will be enough. If you need an explicit full path (rather than a relative path), use

        :!command %:p


Best regards,
Tony.
--
It is difficult to produce a television documentary that is both
incisive and probing when every twelve minutes one is interrupted by
twelve dancing rabbits singing about toilet paper.
                -- Rod Serling

Reply via email to