Vigil wrote:
[...]
This
option may contain '%' and '#' characters, which are expanded like
when used in a command-line.
I think that needs explaining a bit more. To me, % is used when
specifying the entire range of the file on the vim command line, and #
prints lines with their respective line numbers :/
% means 1,$ when used as a range, between the colon and the ex-command. # is
equivalent to "number" when used as an ex-command (:#). Neither apply here.
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
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
138. You develop a liking for cold coffee.