<?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: Vim is a beautiful tool</title>
	<atom:link href="http://eriwen.com/tools/vim-is-a-beautiful-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://eriwen.com/tools/vim-is-a-beautiful-tool/</link>
	<description>Programming productively with open-source tools</description>
	<lastBuildDate>Fri, 27 Aug 2010 19:02:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Собрание лучших шпаргалок по Linux &#124; Блог FlyCat.Info: КОТорый летает...</title>
		<link>http://eriwen.com/tools/vim-is-a-beautiful-tool/#comment-3106</link>
		<dc:creator>Собрание лучших шпаргалок по Linux &#124; Блог FlyCat.Info: КОТорый летает...</dc:creator>
		<pubDate>Wed, 24 Feb 2010 06:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=232#comment-3106</guid>
		<description>[...] Vi Cheat Sheet &#8211; Who doesn’t love Vi/Vim. Also check out my guest post on Vim. [...]</description>
		<content:encoded><![CDATA[<p>[...] Vi Cheat Sheet &#8211; Who doesn’t love Vi/Vim. Also check out my guest post on Vim. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: All the Best Linux Cheat Sheets</title>
		<link>http://eriwen.com/tools/vim-is-a-beautiful-tool/#comment-2306</link>
		<dc:creator>All the Best Linux Cheat Sheets</dc:creator>
		<pubDate>Tue, 07 Apr 2009 20:52:42 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=232#comment-2306</guid>
		<description>[...] Vi Cheat Sheet - Who doesn&#8217;t love Vi/Vim. Also check out my guest post on Vim. [...]</description>
		<content:encoded><![CDATA[<p>[...] Vi Cheat Sheet &#8211; Who doesn&#8217;t love Vi/Vim. Also check out my guest post on Vim. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Developing in Linux</title>
		<link>http://eriwen.com/tools/vim-is-a-beautiful-tool/#comment-2189</link>
		<dc:creator>Web Developing in Linux</dc:creator>
		<pubDate>Sat, 21 Feb 2009 21:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=232#comment-2189</guid>
		<description>[...] you want to know more about Vim I wrote an article on Eric Wendelin&#8217;s [...]</description>
		<content:encoded><![CDATA[<p>[...] you want to know more about Vim I wrote an article on Eric Wendelin&#8217;s [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasudev Ram</title>
		<link>http://eriwen.com/tools/vim-is-a-beautiful-tool/#comment-1758</link>
		<dc:creator>Vasudev Ram</dc:creator>
		<pubDate>Sun, 28 Sep 2008 16:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=232#comment-1758</guid>
		<description>P.S. A pretty powerful vim command (also works in vi) and one that&#039;s a personal favorite, is this:

!!command_name optional_arguments ENTER

Explanation follows:

Let&#039;s say you want to run some UNIX command and have it&#039;s output brought into the file you&#039;re currently editing. This is a pretty common and useful technique when programming. For example, if you&#039;re writing an app that uses a database, you may often want to refer to the current database schema - the definitions of the tables and columns in the DB. Also, it would be convenient to have the schema available as part of the current file you&#039;re editing. And of course, the schema is subject to change now and then as the project goes on. So if you were to use a saved schema report generated by the appropriate SQL command or script, it could be outdated. What you would like is for the schema-reporting script to be run and its output - the current schema - to be inserted into your file, maybe between comment delimiters. That way, you can refer to it while coding.
[ And at the end of your editing session, you could easily delete it from your code by deleting everything between those comment delimiters. ]

To enable that, just do this - move the cursor to a blank line in the file, where you want that output to appear. You could insert comment delimiters above and below that line if you wish. Then do this:

!!schema-reporting-script-name optional_arguments ENTER

That&#039;s a double exclamation mark at the start of the above command.
This results in vim spawning a shell, the shell runs that schema command, then vim pulls in the output of the command, which REPLACES the blank line that the cursor was on.

There are more advanced versions of this one - which are even more powerful for programming - such as, having that output replace, not just the single blank like, but any range of lines in the file you choose it to. Of course, you can also have the output appended to the file, or inserted at the beginning of the file.

However, I won&#039;t go into those examples right now for lack of time. But if you want to know it, check out the !! command in the vim help.

- Vasudev</description>
		<content:encoded><![CDATA[<p>P.S. A pretty powerful vim command (also works in vi) and one that&#8217;s a personal favorite, is this:</p>
<p>!!command_name optional_arguments ENTER</p>
<p>Explanation follows:</p>
<p>Let&#8217;s say you want to run some UNIX command and have it&#8217;s output brought into the file you&#8217;re currently editing. This is a pretty common and useful technique when programming. For example, if you&#8217;re writing an app that uses a database, you may often want to refer to the current database schema &#8211; the definitions of the tables and columns in the DB. Also, it would be convenient to have the schema available as part of the current file you&#8217;re editing. And of course, the schema is subject to change now and then as the project goes on. So if you were to use a saved schema report generated by the appropriate SQL command or script, it could be outdated. What you would like is for the schema-reporting script to be run and its output &#8211; the current schema &#8211; to be inserted into your file, maybe between comment delimiters. That way, you can refer to it while coding.<br />
[ And at the end of your editing session, you could easily delete it from your code by deleting everything between those comment delimiters. ]</p>
<p>To enable that, just do this &#8211; move the cursor to a blank line in the file, where you want that output to appear. You could insert comment delimiters above and below that line if you wish. Then do this:</p>
<p>!!schema-reporting-script-name optional_arguments ENTER</p>
<p>That&#8217;s a double exclamation mark at the start of the above command.<br />
This results in vim spawning a shell, the shell runs that schema command, then vim pulls in the output of the command, which REPLACES the blank line that the cursor was on.</p>
<p>There are more advanced versions of this one &#8211; which are even more powerful for programming &#8211; such as, having that output replace, not just the single blank like, but any range of lines in the file you choose it to. Of course, you can also have the output appended to the file, or inserted at the beginning of the file.</p>
<p>However, I won&#8217;t go into those examples right now for lack of time. But if you want to know it, check out the !! command in the vim help.</p>
<p>- Vasudev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasudev Ram</title>
		<link>http://eriwen.com/tools/vim-is-a-beautiful-tool/#comment-1757</link>
		<dc:creator>Vasudev Ram</dc:creator>
		<pubDate>Sun, 28 Sep 2008 16:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=232#comment-1757</guid>
		<description>Good tutorial.

Here is &lt;a href=&quot;http://www.dancingbison.com/writings/vi_quickstart.txt&quot; rel=&quot;nofollow&quot;&gt;another beginner&#039;s vi tutorial&lt;/a&gt;, which I wrote a while ago for &lt;a href=&quot;http://www.linuxforu.com&quot; rel=&quot;nofollow&quot;&gt;Linux For You magazine&lt;/a&gt;. It&#039;s for vi, the predecessor of vim, but almost everything in it is still current, and relevant to vim (possibly the only exception is the reference to vedit, an easier mode for vi.

It might be one of the shortest vi tutorials around, so is good for getting up to speed with vi basics in a short while. Some Windows system administrator friends told me it helped them learn vi basics pretty soon.

- Vasudev</description>
		<content:encoded><![CDATA[<p>Good tutorial.</p>
<p>Here is <a href="http://www.dancingbison.com/writings/vi_quickstart.txt" rel="nofollow">another beginner&#8217;s vi tutorial</a>, which I wrote a while ago for <a href="http://www.linuxforu.com" rel="nofollow">Linux For You magazine</a>. It&#8217;s for vi, the predecessor of vim, but almost everything in it is still current, and relevant to vim (possibly the only exception is the reference to vedit, an easier mode for vi.</p>
<p>It might be one of the shortest vi tutorials around, so is good for getting up to speed with vi basics in a short while. Some Windows system administrator friends told me it helped them learn vi basics pretty soon.</p>
<p>- Vasudev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learning Perl for Beginners: Getting Started</title>
		<link>http://eriwen.com/tools/vim-is-a-beautiful-tool/#comment-1724</link>
		<dc:creator>Learning Perl for Beginners: Getting Started</dc:creator>
		<pubDate>Mon, 22 Sep 2008 12:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=232#comment-1724</guid>
		<description>[...] you will probably need something to actually write the code. I suggest using Vim/vi since it will save you a tremendous amount of time. If you haven&#8217;t already learned it you should start right [...]</description>
		<content:encoded><![CDATA[<p>[...] you will probably need something to actually write the code. I suggest using Vim/vi since it will save you a tremendous amount of time. If you haven&#8217;t already learned it you should start right [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://eriwen.com/tools/vim-is-a-beautiful-tool/#comment-1708</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Fri, 19 Sep 2008 17:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=232#comment-1708</guid>
		<description>I use vim all the time for editing config files, data files, files I need to do repetitive edits to (i.e. macros are great).  I tried using it as an IDE for Java, it just can&#039;t compete productivity wise with Eclipse or some of the other Java IDEs.  Why?  Because it knows nothing of Java, only of files.  And some of the plugins you can get for Java integration are so poorly documented, it&#039;s not work the effort to figure them out.

Now if Eclipse had a vim editor, that would rock.  This looks to be heading in the right direction though: http://eclim.sourceforge.net/</description>
		<content:encoded><![CDATA[<p>I use vim all the time for editing config files, data files, files I need to do repetitive edits to (i.e. macros are great).  I tried using it as an IDE for Java, it just can&#8217;t compete productivity wise with Eclipse or some of the other Java IDEs.  Why?  Because it knows nothing of Java, only of files.  And some of the plugins you can get for Java integration are so poorly documented, it&#8217;s not work the effort to figure them out.</p>
<p>Now if Eclipse had a vim editor, that would rock.  This looks to be heading in the right direction though: <a href="http://eclim.sourceforge.net/" rel="nofollow">http://eclim.sourceforge.net/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Sanborn</title>
		<link>http://eriwen.com/tools/vim-is-a-beautiful-tool/#comment-1707</link>
		<dc:creator>Mark Sanborn</dc:creator>
		<pubDate>Fri, 19 Sep 2008 17:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=232#comment-1707</guid>
		<description>@Manu,

The vimtutor is golden.  I used to be just like you.  I used to use nano and would try to force myself to use vim.  When I needed to make a quick change in a config file I said to myself, &quot;I&#039;m just gonna use nano... next time I&#039;ll use Vim.&quot;  You should try to do a project in nothing but Vim.

@Srikanth,

Glad I could help!  Like I said people use different commands than others.  I am always finding new shortcuts.  The best thing is that you can slowly add more commands to your arsenal.</description>
		<content:encoded><![CDATA[<p>@Manu,</p>
<p>The vimtutor is golden.  I used to be just like you.  I used to use nano and would try to force myself to use vim.  When I needed to make a quick change in a config file I said to myself, &#8220;I&#8217;m just gonna use nano&#8230; next time I&#8217;ll use Vim.&#8221;  You should try to do a project in nothing but Vim.</p>
<p>@Srikanth,</p>
<p>Glad I could help!  Like I said people use different commands than others.  I am always finding new shortcuts.  The best thing is that you can slowly add more commands to your arsenal.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
