OK, thanks. I'm writing a plugin that works with some AppleScripts
right now, and I'm not sure how to find their path (I intend to
distribute the plugin). How could I assign the absolute path of one of
these scripts to a variable? I posed a separate but similar question
earlier about finding the path to $HOME/.vim or $HOME/vimfiles. I
don't need to load the script into Vim, rather, I have to pass its
path into a shell command (using exec).

Thomas

On Nov 4, 9:50 pm, Pete Johns <[EMAIL PROTECTED]> wrote:
> On Tue, 2008-11-04 at 18:47:49 -0800, 703designs sent:>export("%:s") only 
> returns the path based on the current
> >directory, but I need to retrieve the full root.
>
> %:p will give you the full path.
>
> See :help filename-modifiers
>
> Hope this helps;
>
> --paj
>
> --
> Pete Johns                                   <http://johnsy.com/>
> Contact Information                  <http://johnsy.com/contact/>
> Moving House                   <http://johnsy.com/20081009051955>
> Tree                        <http://johnsy.com/albums/2974263568>
>
>  application_pgp-signature_part
> < 1KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to