Hi,
shawn wilson wrote:
> How do I get the full path of the file I'm editing?
register % contains the name of the current file. You can pass '%' as an
argument to the expand() function:
:echo expand('%')
or
:let filename = expand('%')
This might give you the file name with a path relative to the current
directory. If you always want an absolute path you can append ':p' to
the register name:
:echo expand('%:p')
Regards,
J�rgen
--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)