<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux T&#38;T &#187; Vim</title>
	<atom:link href="http://linux.wxs.ro/category/vim/feed/" rel="self" type="application/rss+xml" />
	<link>http://linux.wxs.ro</link>
	<description>WladyX’s collection of linux tips&#38;tricks</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:42:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>VIM Cheat sheet</title>
		<link>http://linux.wxs.ro/2011/09/16/vim-cheat-sheet-2/</link>
		<comments>http://linux.wxs.ro/2011/09/16/vim-cheat-sheet-2/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 10:52:13 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1592</guid>
		<description><![CDATA[&#160; source]]></description>
			<content:encoded><![CDATA[<p><a href="http://linux.wxs.ro/wp-content/uploads/2011/09/vim-cheatsheet.png"><img class="alignnone size-full wp-image-1593" title="vim-cheatsheet" src="http://linux.wxs.ro/wp-content/uploads/2011/09/vim-cheatsheet.png" alt="" width="912" height="550" /></a></p>
<p>&nbsp;</p>
<p><a href="http://www.qitty.net/lnx/vim-cheatsheet.png">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/09/16/vim-cheat-sheet-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim Tip: using &#8220;paste&#8221; to avoid the staircase effect</title>
		<link>http://linux.wxs.ro/2010/01/06/vim-tip-using-paste-to-avoid-the-staircase-effect/</link>
		<comments>http://linux.wxs.ro/2010/01/06/vim-tip-using-paste-to-avoid-the-staircase-effect/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 10:21:34 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/2010/01/06/vim-tip-using-paste-to-avoid-the-staircase-effect/</guid>
		<description><![CDATA[:set paste http://www.dissociatedpress.net/2009/12/22/vim-tip-using-paste-to-avoid-the-staircase-effect/]]></description>
			<content:encoded><![CDATA[<p><code>:set paste</code></p>
<p><a href="http://www.dissociatedpress.net/2009/12/22/vim-tip-using-paste-to-avoid-the-staircase-effect/">http://www.dissociatedpress.net/2009/12/22/vim-tip-using-paste-to-avoid-the-staircase-effect/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2010/01/06/vim-tip-using-paste-to-avoid-the-staircase-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim Tutorial</title>
		<link>http://linux.wxs.ro/2009/08/07/vim-tutorial/</link>
		<comments>http://linux.wxs.ro/2009/08/07/vim-tutorial/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 10:20:24 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/2009/08/07/vim-tutorial/</guid>
		<description><![CDATA[Vim Tutorial]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.linuxconfig.org/Vim_Tutorial">Vim Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2009/08/07/vim-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VIM basics</title>
		<link>http://linux.wxs.ro/2009/06/17/vim-basics/</link>
		<comments>http://linux.wxs.ro/2009/06/17/vim-basics/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 09:30:22 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/2009/06/17/vim-basics/</guid>
		<description><![CDATA[Vim Basics « Helpful Linux Tidbits]]></description>
			<content:encoded><![CDATA[<p><a href="http://linuxtidbits.wordpress.com/2009/06/16/vim-basics/">Vim Basics « Helpful Linux Tidbits</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2009/06/17/vim-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick and Dirty : Vimdiff Tutorial</title>
		<link>http://linux.wxs.ro/2009/02/02/quick-and-dirty-vimdiff-tutorial/</link>
		<comments>http://linux.wxs.ro/2009/02/02/quick-and-dirty-vimdiff-tutorial/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 08:07:45 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/2009/02/02/quick-and-dirty-vimdiff-tutorial/</guid>
		<description><![CDATA[Keyboard Shortcuts:do - Get changes from other window into the current window.dp &#8211; Put the changes from current window into the other window.]c &#8211; Jump to the next change.[c - Jump to the previous change.Ctrl W + Ctrl W &#8211; Switch to the other split window. Core Dump: Quick and Dirty : Vimdiff Tutorial]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight: bold;">Keyboard Shortcuts:</span><br /><span style="font-weight: bold;"></span><br /><span style="font-style: italic;"><span style="font-weight: bold;">do</span> </span>- Get changes from other window into the current window.<br /><span style="font-weight: bold;"></span><br /><span style="font-style: italic; font-weight: bold;">dp</span> &#8211; Put the changes from current window into the other window.<br /><span style="font-weight: bold;"></span><br /><span style="font-style: italic; font-weight: bold;">]c</span><span style="font-style: italic;">        </span> &#8211; Jump to the next change.<br /><span style="font-weight: bold;"></span><br /><span style="font-weight: bold;"><span style="font-style: italic;">[c</span></span><span style="font-weight: bold;"> </span>- Jump to the previous change.<br /><span style="font-weight: bold;"></span><br /><span style="font-style: italic; font-weight: bold;">Ctrl W + Ctrl W</span> &#8211; Switch to the other split window.</p>
<p><a href="http://amjith.blogspot.com/2008/08/quick-and-dirty-vimdiff-tutorial.html">Core Dump: Quick and Dirty : Vimdiff Tutorial</a><br />
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2009/02/02/quick-and-dirty-vimdiff-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim-comment</title>
		<link>http://linux.wxs.ro/2008/12/03/vim-comment/</link>
		<comments>http://linux.wxs.ro/2008/12/03/vim-comment/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 13:19:20 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/2008/12/03/vim-comment/</guid>
		<description><![CDATA[comments.vim &#8211; To Comment/Un-Comment single/multiple lines of code for different source files : vim online]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vim.org/scripts/script.php?script_id=1528">comments.vim &#8211; To Comment/Un-Comment single/multiple lines of code for different source files : vim online</a><br />
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2008/12/03/vim-comment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim Cheat Sheet</title>
		<link>http://linux.wxs.ro/2008/12/03/vim-cheat-sheet/</link>
		<comments>http://linux.wxs.ro/2008/12/03/vim-cheat-sheet/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 13:14:57 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=331</guid>
		<description><![CDATA[Working with files Vim command Action :e filename Open a new file. You can use the Tab key for automatic file name completion, just like at the shell command prompt. :w filename Save changes to a file. If you don&#8217;t specify a file name, Vim saves as the file name you were editing. For saving [...]]]></description>
			<content:encoded><![CDATA[<table class="tuxtable" border="1" cellspacing="0" cellpadding="5">
<tbody>
<tr>
<td id="files" class="tuxtitle" colspan="2"><em><strong>Working with files</strong></em></td>
</tr>
<tr>
<td class="tuxtext"><em>Vim command</em></td>
<td class="tuxtext"><em>Action</em></td>
</tr>
<tr>
<td class="tuxtext">:e filename</td>
<td class="tuxtext">Open a new file. You can use the Tab key for automatic file name completion, just like at the shell command prompt.</td>
</tr>
<tr>
<td class="tuxtext">:w filename</td>
<td class="tuxtext">Save changes to a file. If you don&#8217;t specify a file name, Vim saves as the file name you were editing. For saving the file under a different name, specify the file name.</td>
</tr>
<tr>
<td class="tuxtext">:q</td>
<td class="tuxtext">Quit Vim. If you have unsaved changes, Vim refuses to exit.</td>
</tr>
<tr>
<td class="tuxtext">:q!</td>
<td class="tuxtext">Exit Vim without saving changes.</td>
</tr>
<tr>
<td class="tuxtext">:wq</td>
<td class="tuxtext">Write the file and exit.</td>
</tr>
<tr>
<td class="tuxtext">: x</td>
<td class="tuxtext">Almost the same as :wq, write the file and exit if you&#8217;ve made changes to the file. If you haven&#8217;t made any changes to the file, Vim exits without writing the file.</td>
</tr>
<tr>
<td id="nav" class="tuxtitle" colspan="2"><em><strong>Moving in the file</strong></em></td>
</tr>
<tr>
<td class="tuxtext" colspan="2">These Vim commands and keys work both in command mode and visual mode.</td>
</tr>
<tr>
<td class="tuxtext"><em>Vim command</em></td>
<td class="tuxtext"><em>Action</em></td>
</tr>
<tr>
<td class="tuxtext">j or Up Arrow</td>
<td class="tuxtext">Move the cursor up one line.</td>
</tr>
<tr>
<td class="tuxtext">k or Down Arrow</td>
<td class="tuxtext">Down one line.</td>
</tr>
<tr>
<td class="tuxtext">l or Right Arrow</td>
<td class="tuxtext">Right one character.</td>
</tr>
<tr>
<td class="tuxtext">h or Left Arrow</td>
<td class="tuxtext">Left one character.</td>
</tr>
<tr>
<td class="tuxtext">e</td>
<td class="tuxtext">To the end of a word.</td>
</tr>
<tr>
<td class="tuxtext">E</td>
<td class="tuxtext">To the end of a whitespace-delimited word.</td>
</tr>
<tr>
<td class="tuxtext">b</td>
<td class="tuxtext">To the beginning of a word.</td>
</tr>
<tr>
<td class="tuxtext">B</td>
<td class="tuxtext">To the beginning of a whitespace-delimited word.</td>
</tr>
<tr>
<td class="tuxtext">0</td>
<td class="tuxtext">To the beginning of a line.</td>
</tr>
<tr>
<td class="tuxtext">^</td>
<td class="tuxtext">To the first non-whitespace character of a line.</td>
</tr>
<tr>
<td class="tuxtext">$</td>
<td class="tuxtext">To the end of a line.</td>
</tr>
<tr>
<td class="tuxtext">H</td>
<td class="tuxtext">To the first line of the screen.</td>
</tr>
<tr>
<td class="tuxtext">M</td>
<td class="tuxtext">To the middle line of the screen.</td>
</tr>
<tr>
<td class="tuxtext">L</td>
<td class="tuxtext">To the the last line of the screen.</td>
</tr>
<tr>
<td class="tuxtext">:<em>n</em></td>
<td class="tuxtext">Jump to line number <em>n</em>. For example, to jump to line 42, you&#8217;d type :42</td>
</tr>
<tr>
<td id="insert" class="tuxtitle" colspan="2"><em><strong>Inserting and overwriting text</strong></em></td>
</tr>
<tr>
<td class="tuxtext"><em>Vim command</em></td>
<td class="tuxtext"><em>Action</em></td>
</tr>
<tr>
<td class="tuxtext">i</td>
<td class="tuxtext">Insert before cursor.</td>
</tr>
<tr>
<td class="tuxtext">I</td>
<td class="tuxtext">Insert to the start of the current line.</td>
</tr>
<tr>
<td class="tuxtext">a</td>
<td class="tuxtext">Append after cursor.</td>
</tr>
<tr>
<td class="tuxtext">A</td>
<td class="tuxtext">Append to the end of the current line.</td>
</tr>
<tr>
<td class="tuxtext">o</td>
<td class="tuxtext">Open a new line below and insert.</td>
</tr>
<tr>
<td class="tuxtext">O</td>
<td class="tuxtext">Open a new line above and insert.</td>
</tr>
<tr>
<td class="tuxtext">C</td>
<td class="tuxtext">Change the rest of the current line.</td>
</tr>
<tr>
<td class="tuxtext">r</td>
<td class="tuxtext">Overwrite one character. After overwriting the single character, go back to command mode.</td>
</tr>
<tr>
<td class="tuxtext">R</td>
<td class="tuxtext">Enter insert mode but replace characters rather than inserting.</td>
</tr>
<tr>
<td class="tuxtext">The ESC key</td>
<td class="tuxtext">Exit insert/overwrite mode and go back to command mode.</td>
</tr>
<tr>
<td id="delete" class="tuxtitle" colspan="2"><em><strong>Deleting text</strong></em></td>
</tr>
<tr>
<td class="tuxtext"><em>Vim command</em></td>
<td class="tuxtext"><em>Action</em></td>
</tr>
<tr>
<td class="tuxtext">x</td>
<td class="tuxtext">Delete characters under the cursor.</td>
</tr>
<tr>
<td class="tuxtext">X</td>
<td class="tuxtext">Delete characters before the cursor.</td>
</tr>
<tr>
<td class="tuxtext">dd or :d</td>
<td class="tuxtext">Delete the current line.</td>
</tr>
<tr>
<td id="visual" class="tuxtitle" colspan="2"><em><strong>Entering visual mode</strong></em></td>
</tr>
<tr>
<td class="tuxtext"><em>Vim command</em></td>
<td class="tuxtext"><em>Action</em></td>
</tr>
<tr>
<td class="tuxtext">v</td>
<td class="tuxtext">Start highlighting characters. Use the normal <a href="http://www.tuxfiles.org/linuxhelp/vimcheat.html#nav">movement keys and commands</a> to select text for highlighting.</td>
</tr>
<tr>
<td class="tuxtext">V</td>
<td class="tuxtext">Start highlighting lines.</td>
</tr>
<tr>
<td class="tuxtext">The ESC key</td>
<td class="tuxtext">Exit visual mode and return to command mode.</td>
</tr>
<tr>
<td id="visualcom" class="tuxtitle" colspan="2"><em><strong>Editing blocks of text</strong></em></td>
</tr>
<tr>
<td class="tuxtext" colspan="2">The Vim commands marked with (V) work in visual mode, when you&#8217;ve selected some text. The other commands work in the command mode, when you haven&#8217;t selected any text.</td>
</tr>
<tr>
<td class="tuxtext"><em>Vim command</em></td>
<td class="tuxtext"><em>Action</em></td>
</tr>
<tr>
<td class="tuxtext">~</td>
<td class="tuxtext">Change the case of characters. This works both in visual and command mode. In visual mode, change the case of highlighted characters. In command mode, change the case of the character uder cursor.</td>
</tr>
<tr>
<td class="tuxtext">&gt; (V)</td>
<td class="tuxtext">Shift right.</td>
</tr>
<tr>
<td class="tuxtext">&lt; (V)</td>
<td class="tuxtext">Shift left.</td>
</tr>
<tr>
<td class="tuxtext">c (V)</td>
<td class="tuxtext">Change the highlighted text.</td>
</tr>
<tr>
<td class="tuxtext">y (V)</td>
<td class="tuxtext">Yank the highlighted text. In Winblows terms, &#8220;copy the selected text to clipboard.&#8221;</td>
</tr>
<tr>
<td class="tuxtext">d (V)</td>
<td class="tuxtext">Delete the highlighted text. In Winblows terms, &#8220;cut the selected text to clipboard.&#8221;</td>
</tr>
<tr>
<td class="tuxtext">yy or :y or Y</td>
<td class="tuxtext">Yank the current line. You don&#8217;t need to highlight it first.</td>
</tr>
<tr>
<td class="tuxtext">dd or :d</td>
<td class="tuxtext">Delete the current line. Again, you don&#8217;t need to highlight it first.</td>
</tr>
<tr>
<td class="tuxtext">p</td>
<td class="tuxtext">In Winblows terms, &#8220;paste&#8221; the contents of the &#8220;clipboard&#8221;. In Vim terms, you &#8220;put&#8221; the text you yanked or deleted. Put characters after the cursor. Put lines below the current line.</td>
</tr>
<tr>
<td class="tuxtext">P</td>
<td class="tuxtext">Put characters before the cursor. Put lines above the current line.</td>
</tr>
<tr>
<td id="ooopsie" class="tuxtitle" colspan="2"><em><strong>Undo and redo</strong></em></td>
</tr>
<tr>
<td class="tuxtext"><em>Vim command</em></td>
<td class="tuxtext"><em>Action</em></td>
</tr>
<tr>
<td class="tuxtext">u</td>
<td class="tuxtext">Undo the last action.</td>
</tr>
<tr>
<td class="tuxtext">U</td>
<td class="tuxtext">Undo all the latest changes that were made to the current line.</td>
</tr>
<tr>
<td class="tuxtext">Ctrl + r</td>
<td class="tuxtext">Redo.</td>
</tr>
<tr>
<td id="search" class="tuxtitle" colspan="2"><em><strong>Search</strong></em></td>
</tr>
<tr>
<td class="tuxtext"><em>Vim command</em></td>
<td class="tuxtext"><em>Action</em></td>
</tr>
<tr>
<td class="tuxtext">/<em>pattern</em></td>
<td class="tuxtext">Search the file for <em>pattern</em>.</td>
</tr>
<tr>
<td class="tuxtext">n</td>
<td class="tuxtext">Scan for next search match in the same direction.</td>
</tr>
<tr>
<td class="tuxtext">N</td>
<td class="tuxtext">Scan for next search match but opposite direction.</td>
</tr>
<tr>
<td id="replace" class="tuxtitle" colspan="2"><em><strong>Replace</strong></em></td>
</tr>
<tr>
<td class="tuxtext"><em>Vim command</em></td>
<td class="tuxtext"><em>Action</em></td>
</tr>
<tr>
<td class="tuxtext">:<em>r</em>s/<em>foo</em>/<em>bar</em>/<em>a</em></td>
<td class="tuxtext">Substitute <em>foo</em> with <em>bar</em>. <em>r</em> determines the range and <em>a</em> determines the arguments.</td>
</tr>
<tr>
<td class="tuxtext" colspan="2">The range (<em>r</em>) can be</td>
</tr>
<tr>
<td class="tuxtext">nothing</td>
<td class="tuxtext">Work on current line only.</td>
</tr>
<tr>
<td class="tuxtext">number</td>
<td class="tuxtext">Work on the line whose number you give.</td>
</tr>
<tr>
<td class="tuxtext">%</td>
<td class="tuxtext">The whole file.</td>
</tr>
<tr>
<td class="tuxtext" colspan="2">Arguments (<em>a</em>) can be</td>
</tr>
<tr>
<td class="tuxtext">g</td>
<td class="tuxtext">Replace all occurrences in the line. Without this, Vim replaces only the first occurrences in each line.</td>
</tr>
<tr>
<td class="tuxtext">i</td>
<td class="tuxtext">Ignore case for the search pattern.</td>
</tr>
<tr>
<td class="tuxtext">I</td>
<td class="tuxtext">Don&#8217;t ignore case.</td>
</tr>
<tr>
<td class="tuxtext">c</td>
<td class="tuxtext">Confirm each substitution. You can type y to substitute this match, n to skip this match, a to substitute this and all the remaining matches (&#8220;Yes to all&#8221;), and q to quit substitution.</td>
</tr>
<tr>
<td class="tuxtext" colspan="2">Examples</td>
</tr>
<tr>
<td class="tuxtext">:452s/<em>foo</em>/<em>bar</em>/</td>
<td class="tuxtext">Replace the first occurrence of the word <em>foo</em> with <em>bar</em> on line number 452.</td>
</tr>
<tr>
<td class="tuxtext">:s/<em>foo</em>/<em>bar</em>/g</td>
<td class="tuxtext">Replace every occurrence of the word <em>foo</em> with <em>bar</em> on current line.</td>
</tr>
<tr>
<td class="tuxtext">:%s/<em>foo</em>/<em>bar</em>/g</td>
<td class="tuxtext">Replace every occurrence of the word <em>foo</em> with <em>bar</em> in the whole file.</td>
</tr>
<tr>
<td class="tuxtext">:%s/<em>foo</em>/<em>bar</em>/gi</td>
<td class="tuxtext">The same as above, but ignore the case of the pattern you want to substitute. This replaces <em>foo</em>, <em>FOO</em>, <em>Foo</em>, and so on.</td>
</tr>
<tr>
<td class="tuxtext">:%s/<em>foo</em>/<em>bar</em>/gc</td>
<td class="tuxtext">Confirm every substitution.</td>
</tr>
<tr>
<td class="tuxtext">:%s/<em>foo</em>/<em>bar</em>/c</td>
<td class="tuxtext">For each line on the file, replace the first occurrence of <em>foo</em> with <em>bar</em> and confirm every substitution.</td>
</tr>
</tbody>
</table>
<p><a href="http://www.tuxfiles.org/linuxhelp/vimcheat.html">http://www.tuxfiles.org/linuxhelp/vimcheat.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2008/12/03/vim-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VIM &#8211; Comment blocks of code</title>
		<link>http://linux.wxs.ro/2008/05/13/vim-comment-blocks-of-code/</link>
		<comments>http://linux.wxs.ro/2008/05/13/vim-comment-blocks-of-code/#comments</comments>
		<pubDate>Tue, 13 May 2008 13:46:28 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/2008/05/13/vim-comment-blocks-of-code/</guid>
		<description><![CDATA[Mark the area which is to be commented using the *blockwise* visual mode (CTRL-V, in Windows this is CTRL-Q). Press I (capital i) and write the text you want to prepend to each line of the selected block, e.g. %. Then press ESC and the text will be inserted to the left of each line [...]]]></description>
			<content:encoded><![CDATA[<p>Mark the area which is to be commented using the *<i>blockwise</i>* visual mode (<b>CTRL-V</b>, in Windows this is <b>CTRL-Q</b>).</p>
<p>Press <b>I</b> (capital i) and write the text you want to prepend to each line of the selected block, e.g. <i>%</i>.</p>
<p>Then press <b>ESC</b> and the text will be inserted to the left of each line of the selected block.</p>
<p><a href="http://notfaq.wordpress.com/2006/07/28/vim-comment-blocks-of-code/">VIM &#8211; Comment blocks of code « Not So Frequently Asked Questions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2008/05/13/vim-comment-blocks-of-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vimrc</title>
		<link>http://linux.wxs.ro/2008/02/18/vimrc/</link>
		<comments>http://linux.wxs.ro/2008/02/18/vimrc/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 13:08:09 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=49</guid>
		<description><![CDATA[set background=dark set incsearch set ignorecase map :w map dd map :q map :set hls!set hls? set noautoindent set hlsearch set tabstop=4]]></description>
			<content:encoded><![CDATA[<p><code><br />
set background=dark<br />
set incsearch<br />
set ignorecase<br />
map  :w<br />
map  dd<br />
map  :q<br />
map  :set hls!set hls?<br />
set noautoindent<br />
set hlsearch<br />
set tabstop=4<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2008/02/18/vimrc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu vim syntax</title>
		<link>http://linux.wxs.ro/2008/01/22/ubuntu-vim-syntax/</link>
		<comments>http://linux.wxs.ro/2008/01/22/ubuntu-vim-syntax/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 07:42:17 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=27</guid>
		<description><![CDATA[Q. I am using vim under Ubuntu Linux and whenever I type following command: syntax on Iâ€™m getting an error which read as follows: E319: Sorry, the command is not available in this version: syntax on How do I fix this problem? A. Vim is a text editor that is upwards compatible to Vi. It [...]]]></description>
			<content:encoded><![CDATA[<p>Q. I am using vim under Ubuntu Linux and whenever I type following command:<br />
<strong><span style="color: #009900;">syntax on</span></strong></p>
<p>Iâ€™m getting an error which read as follows:<br />
<span style="color: #ff0000;">E319: Sorry, the command is not available in this version: syntax on</span></p>
<p>How do I fix this problem?</p>
<p>A. Vim is a text editor that is upwards compatible to Vi. It can be<br />
used to edit all kinds of plain text. It is especially useful for<br />
editing programs.</p>
<p>There are a lot of enhancements above Vi: multi level undo, multi<br />
windows and buffers, syntax highlighting, command line editing,<br />
filename completion, on-line help, visual selection, etc</p>
<p>Ubuntu Linux comes with tiny version of vim.</p>
<p>All you need to do is installed full vim version by typing following command:<br />
<code>$ sudo apt-get install vim</code></p>
<p>You can add syntax on command <a href="http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/">to ~/.vimrc file</a></p>
<p><a href="http://www.cyberciti.biz/faq/howto-install-full-vim-under-ubuntu-linux/">http://www.cyberciti.biz/faq/howto-install-full-vim-under-ubuntu-linux/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2008/01/22/ubuntu-vim-syntax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

