Yakov schrieb:
> func! ResolveAndMakeAbsolute(path)
>     let r = expand(a:path)
>     return r[0] == '/' ? resolve(r) : resolve(getcwd() . "/" . r)
> endfun

There is also
    :h simplify()

-- 
Andy


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to