<?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>Amit Yadav &#187; LINUX</title>
	<atom:link href="http://www.amityadav.name/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amityadav.name</link>
	<description>Things to know for effective coding</description>
	<lastBuildDate>Fri, 19 Aug 2011 17:51:59 +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 Tips</title>
		<link>http://www.amityadav.name/vim-tips/</link>
		<comments>http://www.amityadav.name/vim-tips/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 04:33:57 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.amityadav.name/vim-tips/</guid>
		<description><![CDATA[1 gk, gj - Move up or down one screen line. (Helpful if lines wrap.) 2 3 ga - Display ASCII, hex and octal value of character under cursor. 4 Helpful to search/replace control characters. For example, 5 /&#60;C-v&#62;x1a will search for Control-Z (^Z). (&#60;C-v&#62; is not literal, 6 it means hit Control and v [...]]]></description>
			<content:encoded><![CDATA[<div class="content">
<div class="CodeRay">
<div class="code">
<pre><span class="no"> 1</span> gk, gj    - Move up or down one screen line.  (Helpful if lines wrap.)
<span class="no"> 2</span>
<span class="no"> 3</span> ga        - Display ASCII, hex and octal value of character under cursor.
<span class="no"> 4</span>             Helpful to search/replace control characters.  For example,
<span class="no"> 5</span>             /&lt;C-v&gt;x1a will search for Control-Z (^Z).  (&lt;C-v&gt; is not literal,
<span class="no"> 6</span>             it means hit Control and v at the same time.)
<span class="no"> 7</span>
<span class="no"> 8</span> gd        - Jump to declaration of local variable in a C program.
<span class="no"> 9</span>             This doesn't seem to work for multiple declarations on one line.
<span class="no"><strong>10</strong></span> ge        - Move to end of previous word.
<span class="no">11</span> gE        - Same thing, but words are considered separated by whitespace.
<span class="no">12</span> W         - Go to beginning of next word after whitespace.
<span class="no">13</span> B         - Go to character after closest whitespace left of cursor.
<span class="no">14</span> E         - Go to character before closest whitespace right of cursor.
<span class="no">15</span> '.        - Jumps to last modified line.
<span class="no">16</span> `.        - Jumps to last modified position.
<span class="no">17</span>
<span class="no">18</span> ;         - Repeat last character search (f,F,t,T).
<span class="no">19</span> ,         - Repeat last character search in the other direction.
<span class="no"><strong>20</strong></span>
<span class="no">21</span> C-x C-f   - Complete filename under cursor
<span class="no">22</span>
<span class="no">23</span> g &lt;C-g&gt;   - Display byte, word, line, etc. cursor is on.
<span class="no">24</span> &lt;count&gt;go - Go to count byte.
<span class="no">25</span>
<span class="no">26</span> &lt;C-x&gt;     - Decrements first number after the cursor.
<span class="no">27</span> &lt;C-a&gt;     - Increments first number after the cursor.
<span class="no">28</span>
<span class="no">29</span> read !... - Inserts standard output of shell command.
<span class="no"><strong>30</strong></span>
<span class="no">31</span> &lt;C-b&gt;     - Moves cursor to beginning of command-line.
<span class="no">32</span> &lt;C-e&gt;     - Moves cursor to end of command-line.
<span class="no">33</span> &lt;C-w&gt;     - Deletes word before cursor on command-line.
<span class="no">34</span> &lt;C-u&gt;     - Wipes command-line clean.
<span class="no">35</span> [I        - Grep current buffer for word under cursor.
<span class="no">36</span>
<span class="no">37</span> vi *.txt                   - Open a series of files and replace all
<span class="no">38</span> argdo %s/pat/rep/gc | wn     occurrences of pat with rep.
<span class="no">39</span>
<span class="no"><strong>40</strong></span> set shortmess=a     Outlaws "Hit ENTER to continue" prompts.</pre>
</div>
</div>
</div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.amityadav.name%2Fvim-tips%2F&amp;title=VIM%20Tips" id="wpa2a_2"><img src="http://www.amityadav.name/wp-content/plugins/add-to-any/share_save_171_16.gif" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.amityadav.name/vim-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

