<?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: A GNU Emacs guy&#8217;s challenge to vi guys</title>
	<atom:link href="http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html</link>
	<description>Rantings of a Questionably Sane Chicken</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:50:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark</title>
		<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/comment-page-1#comment-277</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 18 Apr 2007 08:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notsosoft.net/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html#comment-277</guid>
		<description>Thank You</description>
		<content:encoded><![CDATA[<p>Thank You</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr. The Plague</title>
		<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/comment-page-1#comment-18</link>
		<dc:creator>Mr. The Plague</dc:creator>
		<pubDate>Tue, 06 Feb 2007 04:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notsosoft.net/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html#comment-18</guid>
		<description>Personally, I find most of what you mention is easy to do from within emacs easier to do from outside. They&#039;re different tools for a reason.

However, I make an exception for if I&#039;m editing lisp code. m-x slime is really hot.</description>
		<content:encoded><![CDATA[<p>Personally, I find most of what you mention is easy to do from within emacs easier to do from outside. They&#8217;re different tools for a reason.</p>
<p>However, I make an exception for if I&#8217;m editing lisp code. m-x slime is really hot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diwaker</title>
		<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/comment-page-1#comment-16</link>
		<dc:creator>Diwaker</dc:creator>
		<pubDate>Tue, 06 Feb 2007 03:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notsosoft.net/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html#comment-16</guid>
		<description>As others have said, none of these are &quot;features&quot; of text editors. They are more like plugins. Both emacs and vim have extensive plugin frameworks, and consequently all of the things you mention are doable in Vim. Just go to vim.org and search among the scripts. Here are a few examples:

- vcscommand.vim (http://vim.sourceforge.net/scripts/script.php?script_id=90) for version control
- clewn (http://clewn.sourceforge.net/) for integration with gdb, pida (http://pida.co.uk/) for integration with python debugger, vimDebug (http://vim.sourceforge.net/scripts/script.php?script_id=663) generic debugger integration
- dbext (http://vim.sourceforge.net/scripts/script.php?script_id=356) db access to 10 different databases

You get the idea.</description>
		<content:encoded><![CDATA[<p>As others have said, none of these are &#8220;features&#8221; of text editors. They are more like plugins. Both emacs and vim have extensive plugin frameworks, and consequently all of the things you mention are doable in Vim. Just go to vim.org and search among the scripts. Here are a few examples:</p>
<p>- vcscommand.vim (<a href="http://vim.sourceforge.net/scripts/script.php?script_id=90" rel="nofollow">http://vim.sourceforge.net/scripts/script.php?script_id=90</a>) for version control<br />
- clewn (<a href="http://clewn.sourceforge.net/" rel="nofollow">http://clewn.sourceforge.net/</a>) for integration with gdb, pida (<a href="http://pida.co.uk/" rel="nofollow">http://pida.co.uk/</a>) for integration with python debugger, vimDebug (<a href="http://vim.sourceforge.net/scripts/script.php?script_id=663" rel="nofollow">http://vim.sourceforge.net/scripts/script.php?script_id=663</a>) generic debugger integration<br />
- dbext (<a href="http://vim.sourceforge.net/scripts/script.php?script_id=356" rel="nofollow">http://vim.sourceforge.net/scripts/script.php?script_id=356</a>) db access to 10 different databases</p>
<p>You get the idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius Gedminas</title>
		<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/comment-page-1#comment-11</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Mon, 05 Feb 2007 18:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notsosoft.net/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html#comment-11</guid>
		<description>s/www.vm.org/www.vim.org/</description>
		<content:encoded><![CDATA[<p>s/www.vm.org/www.vim.org/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius Gedminas</title>
		<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/comment-page-1#comment-10</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Mon, 05 Feb 2007 18:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notsosoft.net/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html#comment-10</guid>
		<description>1) Editing remote files: there&#039;s netrw (:help netrw), which you use by opening a url like :e scp://hostname/filename.  I personally never use it, I find it more convenient to ssh and open the editor there.  With ssh X forwarding all my vim sessions -- local and remote, console and GUI -- share the same X clipboard.

2) There are plugins for CVS/SVN.  I use svncommand.vim by Adam Lazur (you can find it on www.vm.org).  It add commands like :SVNAdd, :SVNAnnotate, SVNCommit, :SVNVimDiff (my favourite).  I tend to commit from a different terminal, and svn ci spawns vim with two panes: one for reviewing the whole diff, the other for typing in the commit message.

I do not know if there&#039;s a way to see a list of changed files, tag the ones you want to commit, and run commit on them from within vim.  There may be, but I never bothered looking for it.  It would be useful sometimes, though.

3) Vim&#039;s diff support is pretty nice (up to five windows, with synchronized scrolling, showing of diffs within each line, folding places that do not differ, editing, moving chunks left and right).  :help diff. There is no support for diffing directory trees.  (Or, if there is, I haven&#039;t discovered it yet.)

4) Using databases or other kinds of shells: no.  Vim doesn&#039;t have a good terminal emulator, and it doesn&#039;t support embedding external programs in its buffers.  You can probably write some script to emulate that, but I haven&#039;t seen anything yet.  I usually find it easier to have an xterm open next to my gvim window.

5) Integrated debugging: I haven&#039;t seen this working with vim yet.</description>
		<content:encoded><![CDATA[<p>1) Editing remote files: there&#8217;s netrw (:help netrw), which you use by opening a url like :e scp://hostname/filename.  I personally never use it, I find it more convenient to ssh and open the editor there.  With ssh X forwarding all my vim sessions &#8212; local and remote, console and GUI &#8212; share the same X clipboard.</p>
<p>2) There are plugins for CVS/SVN.  I use svncommand.vim by Adam Lazur (you can find it on <a href="http://www.vm.org" rel="nofollow">http://www.vm.org</a>).  It add commands like :SVNAdd, :SVNAnnotate, SVNCommit, :SVNVimDiff (my favourite).  I tend to commit from a different terminal, and svn ci spawns vim with two panes: one for reviewing the whole diff, the other for typing in the commit message.</p>
<p>I do not know if there&#8217;s a way to see a list of changed files, tag the ones you want to commit, and run commit on them from within vim.  There may be, but I never bothered looking for it.  It would be useful sometimes, though.</p>
<p>3) Vim&#8217;s diff support is pretty nice (up to five windows, with synchronized scrolling, showing of diffs within each line, folding places that do not differ, editing, moving chunks left and right).  :help diff. There is no support for diffing directory trees.  (Or, if there is, I haven&#8217;t discovered it yet.)</p>
<p>4) Using databases or other kinds of shells: no.  Vim doesn&#8217;t have a good terminal emulator, and it doesn&#8217;t support embedding external programs in its buffers.  You can probably write some script to emulate that, but I haven&#8217;t seen anything yet.  I usually find it easier to have an xterm open next to my gvim window.</p>
<p>5) Integrated debugging: I haven&#8217;t seen this working with vim yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amaranth</title>
		<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/comment-page-1#comment-9</link>
		<dc:creator>Amaranth</dc:creator>
		<pubDate>Mon, 05 Feb 2007 17:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notsosoft.net/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html#comment-9</guid>
		<description>I think this comes down to what the two are supposed to be used for. Vi(m) is a pretty good text editor, emacs is an OS with a decent text editor in it. :) No flames intended. It&#039;s just that emacs is more of an IDE-like thing.</description>
		<content:encoded><![CDATA[<p>I think this comes down to what the two are supposed to be used for. Vi(m) is a pretty good text editor, emacs is an OS with a decent text editor in it. <img src='http://www.manchicken.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  No flames intended. It&#8217;s just that emacs is more of an IDE-like thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rocco Stanzione</title>
		<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/comment-page-1#comment-8</link>
		<dc:creator>Rocco Stanzione</dc:creator>
		<pubDate>Mon, 05 Feb 2007 16:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notsosoft.net/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html#comment-8</guid>
		<description>You may have heard the quip, &quot;Emacs is a nice operating system, but I prefer Linux.&quot;  All the features you mention are nice, but none of them are text editing features.  Many of them are nice in an IDE, which vim isn&#039;t.  I edit remote files by mounting remote filesystems or running the editor remotely.  I use revision control systems for revision controll, diff tools for diff management, database tools for database queries, debuggers for debugging, and vim for editing text.  In that regard, vim isn&#039;t a direct competitor to emacs.  They&#039;re both quite handy (I assume) for editing text.  If you want your text editor to handle a lot more than editing text, emacs is probably for you.</description>
		<content:encoded><![CDATA[<p>You may have heard the quip, &#8220;Emacs is a nice operating system, but I prefer Linux.&#8221;  All the features you mention are nice, but none of them are text editing features.  Many of them are nice in an IDE, which vim isn&#8217;t.  I edit remote files by mounting remote filesystems or running the editor remotely.  I use revision control systems for revision controll, diff tools for diff management, database tools for database queries, debuggers for debugging, and vim for editing text.  In that regard, vim isn&#8217;t a direct competitor to emacs.  They&#8217;re both quite handy (I assume) for editing text.  If you want your text editor to handle a lot more than editing text, emacs is probably for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Quigley</title>
		<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/comment-page-1#comment-7</link>
		<dc:creator>John Quigley</dc:creator>
		<pubDate>Sun, 04 Feb 2007 18:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notsosoft.net/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html#comment-7</guid>
		<description>With respect to my conclusion above.  Excuse me for not making this more obvious, but that was in no way directed at you or the parent post.

It was my attempt to prevent any debate regarding which editor is better in follow-up posts.

I&#039;ll direct you to some vim information so that you can understand how to accomplish these things in vim.  Stay tuned.

- John Quigley</description>
		<content:encoded><![CDATA[<p>With respect to my conclusion above.  Excuse me for not making this more obvious, but that was in no way directed at you or the parent post.</p>
<p>It was my attempt to prevent any debate regarding which editor is better in follow-up posts.</p>
<p>I&#8217;ll direct you to some vim information so that you can understand how to accomplish these things in vim.  Stay tuned.</p>
<p>- John Quigley</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manchicken</title>
		<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/comment-page-1#comment-6</link>
		<dc:creator>manchicken</dc:creator>
		<pubDate>Sun, 04 Feb 2007 16:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notsosoft.net/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html#comment-6</guid>
		<description>I&#039;ll agree.  This post isn&#039;t anything to belittle vim users.  It&#039;s entirely to get answers to my questions.  I&#039;m still trying to get these answers ^_^</description>
		<content:encoded><![CDATA[<p>I&#8217;ll agree.  This post isn&#8217;t anything to belittle vim users.  It&#8217;s entirely to get answers to my questions.  I&#8217;m still trying to get these answers ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Quigley</title>
		<link>http://www.manchicken.com/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html/comment-page-1#comment-5</link>
		<dc:creator>John Quigley</dc:creator>
		<pubDate>Sun, 04 Feb 2007 15:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notsosoft.net/2007/hacking/an-gnu-emacs-guys-challenge-to-vi-guys.html#comment-5</guid>
		<description>I&#039;m going to be succinct here.  In vim, there are faculties readily available to perform three of your points, namely the inline and robust support for revision control, diff and debugging.  The other two points may be possible, but I&#039;ve never looked into it.  I won&#039;t detail how these are performed in vim; if you&#039;re interested, information is easily accessible via the in-editor help system.

One thing that you must bear in mind is that vim comes from an entirely different background than does emacs.  Vim was written by a systems guy, who strictly adhered to the &#039;do one thing and do it well&#039; mantra of the UNIX world.  Thus, if you want to edit files external to your machine, set up SSHFS or NTFS, both of which are much more powerful facilities than emacs tramp.

I know how to use both editors, and regularly use the two for various purposes.   For me, vim is the clear winner (for most purposes), largely because the key &#039;chords&#039; are intuitive and I can edit, and move about within, a file much faster than I ever could in emacs.  This largely has to do with the fact that most commands are a single key press.  A single press may not seem much, but taking the speed with which I type, and the sheer volume of words I type per day, it very quickly adds up.

People who engage in debates about which editor are better almost always have the following characteristics:

1) ignorant about usage of one or the other
2) too much time on their hands

- John Quigley</description>
		<content:encoded><![CDATA[<p>I&#8217;m going to be succinct here.  In vim, there are faculties readily available to perform three of your points, namely the inline and robust support for revision control, diff and debugging.  The other two points may be possible, but I&#8217;ve never looked into it.  I won&#8217;t detail how these are performed in vim; if you&#8217;re interested, information is easily accessible via the in-editor help system.</p>
<p>One thing that you must bear in mind is that vim comes from an entirely different background than does emacs.  Vim was written by a systems guy, who strictly adhered to the &#8216;do one thing and do it well&#8217; mantra of the UNIX world.  Thus, if you want to edit files external to your machine, set up SSHFS or NTFS, both of which are much more powerful facilities than emacs tramp.</p>
<p>I know how to use both editors, and regularly use the two for various purposes.   For me, vim is the clear winner (for most purposes), largely because the key &#8216;chords&#8217; are intuitive and I can edit, and move about within, a file much faster than I ever could in emacs.  This largely has to do with the fact that most commands are a single key press.  A single press may not seem much, but taking the speed with which I type, and the sheer volume of words I type per day, it very quickly adds up.</p>
<p>People who engage in debates about which editor are better almost always have the following characteristics:</p>
<p>1) ignorant about usage of one or the other<br />
2) too much time on their hands</p>
<p>- John Quigley</p>
]]></content:encoded>
	</item>
</channel>
</rss>

