On 18 fév, 21:02, Christian Brabandt <[email protected]> wrote: > Hi epanda! > > On Do, 18 Feb 2010, epanda wrote: > > > I know expand(%:p:h) to expand path but how to get the same begin of > > path from a path variable. > > > let mypath = "c:\\foo/bar/file.txt" > > > Can I avoid to use substitute command and use expand like function ? > > :h fnamemodify() > > regards, > Christian > -- > Indes sie forschten, r ntgten, filmten, funkten, entstand von selbst > die k stlichste Erfindung: der Umweg als die k rzeste Verbindung > zwischen zwei Punkten. > -- Erich K stner
You're the best! Are u french ? Thank you Christian NB : I have a lot of question tonight, hope that you will stay -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
