On Sun, 25 Mar 2007, A.J.Mechelynck wrote:

When used after an ex-command which expects a file name, % means the filename of the current buffer, and # means the filename of the alternate buffer.

See
        :help edit-intro
        :help cmdline-special

Thanks - I didn't think of it being used like that. I certainly didn't realise that :_% referred to it! I guess in the help system, an underscore means 'something arbitrary here'.

--

.

Reply via email to