From: Christian Brabandt
Sent: Monday, August 10, 2009 12:59
> On Mo, 10 Aug 2009, Sagdullin, Bulat wrote:
> > John Beckett wrote:
> > > From my quick look at ":help filename-modifiers", I think:
> > >
> > >   :source %:p:h/functions.vim
> >
> > No, '%' expands to path to opened file in VIM, not to session
(script)
> > file path.
> 
> I think you are looking for <sfile>. So try:
> so <sfile>:p:h/functions.vim

Yes!
Thank you, Christian.
Bulat.

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

Reply via email to