<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Using Vim under Cygwin</title>
	<atom:link href="http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/</link>
	<description>Daniel Lemire's blog is about life in academia, research in Computer Science, wondering how we can reconcile fast databases and algorithms with the informal and asemantic nature of the world around us. It is broadcasted from Montreal (Canada).</description>
	<pubDate>Thu, 08 Jan 2009 14:27:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: TidyTim</title>
		<link>http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/comment-page-1/#comment-49411</link>
		<dc:creator>TidyTim</dc:creator>
		<pubDate>Wed, 18 Jul 2007 15:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/#comment-49411</guid>
		<description>The script as given above will only edit one file.  What if you want to edit several files?  What if you want to edit several files and start all open in their own frame?  If you add the "-o" switch cypath will take it as a option so it probably produce an error and it won't get passed to Vim.

Here's the original script:

"/cygdrive/c/Program Files/Vim/vim63/vim.exe" `cygpath -w $1`

Here's a more useful variation (assuming the Bash shell):

"/cygdrive.../vim.exe" $(cygpath -w -- $*) &#38;

Cygpath ignores options after the "--".</description>
		<content:encoded><![CDATA[<p>The script as given above will only edit one file.  What if you want to edit several files?  What if you want to edit several files and start all open in their own frame?  If you add the &#8220;-o&#8221; switch cypath will take it as a option so it probably produce an error and it won&#8217;t get passed to Vim.</p>
<p>Here&#8217;s the original script:</p>
<p>&#8220;/cygdrive/c/Program Files/Vim/vim63/vim.exe&#8221; `cygpath -w $1`</p>
<p>Here&#8217;s a more useful variation (assuming the Bash shell):</p>
<p>&#8220;/cygdrive&#8230;/vim.exe&#8221; $(cygpath -w &#8212; $*) &amp;</p>
<p>Cygpath ignores options after the &#8220;&#8211;&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luc Hermitte</title>
		<link>http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/comment-page-1/#comment-2996</link>
		<dc:creator>Luc Hermitte</dc:creator>
		<pubDate>Fri, 30 Sep 2005 00:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/#comment-2996</guid>
		<description>Hello.

I do not really like to post such plain advertizes, but I think the script I'm maintening, cyg-wrapper.sh, could solve both your problems. (If I understand how the blog works, just click on my name to access to the script).

Regarding Vim, look at the example given on the web page. Regarding cvs, declare -m as a binary-argument. BTW, Vim plugin, cvsmenu, is quite addictive -- though I have used it only on Solaris.

NB: As cyg-wrapper is just a bash script, it may take some time when to many filenames need to be converted.

HTH.</description>
		<content:encoded><![CDATA[<p>Hello.</p>
<p>I do not really like to post such plain advertizes, but I think the script I&#8217;m maintening, cyg-wrapper.sh, could solve both your problems. (If I understand how the blog works, just click on my name to access to the script).</p>
<p>Regarding Vim, look at the example given on the web page. Regarding cvs, declare -m as a binary-argument. BTW, Vim plugin, cvsmenu, is quite addictive &#8212; though I have used it only on Solaris.</p>
<p>NB: As cyg-wrapper is just a bash script, it may take some time when to many filenames need to be converted.</p>
<p>HTH.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dr.M</title>
		<link>http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/comment-page-1/#comment-2317</link>
		<dc:creator>Dr.M</dc:creator>
		<pubDate>Sat, 16 Apr 2005 05:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/#comment-2317</guid>
		<description>cat ~/.bashrc

vi(){ # windows.
        vifile=${@:-$vifile};  # use last file or argv
        vifile=$(cygpath -m $@)  # dos paths
        c:/bin32/gvim $vifile &#38;
}


I too just started using cygwin and tortoise-cvs.

          </description>
		<content:encoded><![CDATA[<p>cat ~/.bashrc</p>
<p>vi(){ # windows.<br />
        vifile=${@:-$vifile};  # use last file or argv<br />
        vifile=$(cygpath -m $@)  # dos paths<br />
        c:/bin32/gvim $vifile &amp;<br />
}</p>
<p>I too just started using cygwin and tortoise-cvs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Lemire</title>
		<link>http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/comment-page-1/#comment-1277</link>
		<dc:creator>Daniel Lemire</dc:creator>
		<pubDate>Fri, 18 Feb 2005 19:01:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/#comment-1277</guid>
		<description>Thanks. Indeed a good alternative.

I knew about the "-m" command, but also, under windows, one can use Tortoise CVS, you then have a nice GUI to take care of all your CVS trouble. But I remain a command line freak. So I should get in the habit of using -m, it is probably faster in the long run anyhow.</description>
		<content:encoded><![CDATA[<p>Thanks. Indeed a good alternative.</p>
<p>I knew about the &#8220;-m&#8221; command, but also, under windows, one can use Tortoise CVS, you then have a nice GUI to take care of all your CVS trouble. But I remain a command line freak. So I should get in the habit of using -m, it is probably faster in the long run anyhow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zbigniew Lukasiak</title>
		<link>http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/comment-page-1/#comment-1275</link>
		<dc:creator>Zbigniew Lukasiak</dc:creator>
		<pubDate>Fri, 18 Feb 2005 10:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/#comment-1275</guid>
		<description>-m message

         Use message as log information, instead of invoking an editor.

         Available with the following commands: add, commit and import.

From cvs man page.</description>
		<content:encoded><![CDATA[<p>-m message</p>
<p>         Use message as log information, instead of invoking an editor.</p>
<p>         Available with the following commands: add, commit and import.</p>
<p>From cvs man page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zbigniew Lukasiak</title>
		<link>http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/comment-page-1/#comment-1274</link>
		<dc:creator>Zbigniew Lukasiak</dc:creator>
		<pubDate>Fri, 18 Feb 2005 09:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/02/17/using-vim-under-cygwin/#comment-1274</guid>
		<description>&lt;!-- spamk    : Used HTTP_VIA header. --&gt;
&lt;!-- spamk    : CAPTCHA:sent-4-times:1108724028 --&gt;
&lt;!-- spamk    : KARMA: -2 --&gt;
&lt;!-- spamk    : Treatment: captcha --&gt;
You can use the -m 'log_message' option for the commit to enter the comments.</description>
		<content:encoded><![CDATA[<p><!-- spamk    : Used HTTP_VIA header. --><br />
<!-- spamk    : CAPTCHA:sent-4-times:1108724028 --><br />
<!-- spamk    : KARMA: -2 --><br />
<!-- spamk    : Treatment: captcha --><br />
You can use the -m &#8216;log_message&#8217; option for the commit to enter the comments.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
