From: Andy Stewart Date: 2006-08-21T18:51:18+09:00 Subject: Re: [OT] Vim Question Tim, > This is for all the Rubyists out there who can really rock the Vim. Well, one tries. > The idea here is that I want a Put function that takes a computer name > as an argument. This function will use rsync to copy all modified > files from the current working directory to the same directory on the > remote computer. > > The reason for this is that I'm developing on Windows :( but my code > needs to run on Linux and Solaris. Pushing code to the machines where > autotest will run it is the desired outcome. I don't want to have to > drop out of vim and into a shell prompt each time I do this. Why not just edit the files on the machines where autotest runs? Vim has a mechanism for editing remote files via ftp, rcp, scp, http and others. I've used it before and it saved a lot of fiddling around with scripts outside vim. Here's some more information: http://www.vim.org/tips/tip.php?tip_id=337 Good luck, Andy