Hi Aarto!

On Mo, 15 Mär 2010, Aarto Matti wrote:

> is it possible to expand a relative path to an absolute one with expand() or
> some other function, e.g. expand("./somefile:p") would return
> "/foo/bar/somefile". I know I can do it manually by combining with pwd, but
> that is to much work, and I would also need to check if the path is actually
> relative and not absolute.

:h fnamemodify()

regards,
Christian

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to