On Nov 18, 2008, at 7:38 PM, daaku wrote:

>> What do you expect this to do? Open a new tab in the MacVim window
>> running on the mac and not display any output on the linux box where
>> you ssh from?
>
> Yep, thats it. I want to be able to send a command to my already
> running MacVim server session via ssh.

you know, you may be able to solve this problem a different way:

1) on your Mac, install the netrw plugin 
(http://www.vim.org/scripts/script.php?script_id=1075 
)
2) (optional, but convenient) set up ssh public key authentication  
between your Mac and the linux box
3) on your Mac, run 'mvim scp://Linux/file/to/edit'

you'll then be editing the file on the linux machine using the MacVim  
instance on your Mac (replace 'Linux' with the hostname of the linux  
machine).

if you want to stick as closely as possible to the workflow you  
described above, change this

>> On my Linux box I want to do this:
>> ssh Mac "edit-remote scp://$HOSTNAME/$file"

to this

>> On my Linux box I want to do this:
>> ssh Mac "mvim scp://$HOSTNAME/$file"

and you should be all set.  remember that the file path ($file above)  
is rooted not at /, but at your home directory.

-steve

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

Reply via email to