On Mar 17, 5:33 am, "Christian Brabandt" <[email protected]> wrote:


>
> echo fnamemodify(expand(path), ":h")
>

I don't think you actually need the expand() at all. Just use:

echo fnamemodify(path, ":p:h")
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to