Here is the solution:
:call ScreenShellSend(printf('echo "%s"', expand("%:p")))
*www.peimankhosravi.co.uk* || Subscribe to RSS
Feed<http://peimankhosravi.co.uk/miscposts.rss>
*To receive emails about upcoming concerts visit this
page<http://spectralkimia.wordpress.com/>& enter your email address in
the 'follow' section.
*
On 19 May 2013 14:49, peiman khosravi <[email protected]> wrote:
> Dear all,
>
> I am trying to run this command:
>
> :call ScreenShellSend("echo %:p")
>
> Where %:p should be replaced by the current file path. For obvious reasons
> this doesn't work so I get 'echo %:p' in the terminal instead. Is there a
> workaround for this?
>
> Many thanks in advance
> Peiman
>
>
>
>
>
> *www.peimankhosravi.co.uk* || Subscribe to RSS
> Feed<http://peimankhosravi.co.uk/miscposts.rss>
>
> *To receive emails about upcoming concerts visit this
> page<http://spectralkimia.wordpress.com/>& enter your email address in the
> 'follow' section.
> *
>
--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.