<?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>My Workday &#187; vi</title>
	<atom:link href="http://www.goworkday.com/tag/vi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goworkday.com</link>
	<description>Let&#039;s talk TECH</description>
	<lastBuildDate>Tue, 23 Mar 2010 03:28:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Copying a block of text from one file to another in Vi</title>
		<link>http://www.goworkday.com/2008/12/29/copying-a-block-of-text-from-one-file-to-another-in-vi/</link>
		<comments>http://www.goworkday.com/2008/12/29/copying-a-block-of-text-from-one-file-to-another-in-vi/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 18:52:47 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://www.goworkday.com/?p=55</guid>
		<description><![CDATA[<br/>To copy a block of text between files execute the commands: Command Explaination 1. Edit the file containing the text you want to copy. 2. Go to the top line to be copied. 3. ma Mark this line as mark &#8220;a&#8221;. 4. Go to the bottom line to be copied 5. y'a Yank (y) the [...]]]></description>
			<content:encoded><![CDATA[<br/><p>To copy a block of text between files execute the commands:</p>
<table border="3">
<tbody>
<tr valign="top">
<td colspan="2">Command</td>
<td>Explaination</td>
</tr>
<tr valign="top">
<td>1.</td>
<td></td>
<td>Edit the file containing the text you want to copy.</td>
</tr>
<tr valign="top">
<td>2.</td>
<td></td>
<td>Go to the top line to be copied.</td>
</tr>
<tr valign="top">
<td>3.</td>
<td><tt><span style="text-decoration: underline;">ma</span></tt></td>
<td>Mark this line as mark &#8220;a&#8221;.</td>
</tr>
<tr valign="top">
<td>4.</td>
<td></td>
<td>Go to the bottom line to be copied</td>
</tr>
<tr valign="top">
<td>5.</td>
<td><tt><span style="text-decoration: underline;">y'a</span></tt></td>
<td>Yank (<tt><span style="text-decoration: underline;">y</span></tt>) the text from the current 	cursor location to the mark &#8220;a&#8221; (<tt><span style="text-decoration: underline;">'a</span></tt>)</td>
</tr>
<tr valign="top">
<td>6.</td>
<td><tt><span style="text-decoration: underline;">:split</span> </tt><em>second-file</em></td>
<td>Open another window containing the second file. 	(This the file in which the text is to be inserted.)</td>
</tr>
<tr valign="top">
<td>7.</td>
<td></td>
<td>Go to the line where the insert is to occur.  	The text will be place after this line.</td>
</tr>
<tr valign="top">
<td>8.</td>
<td><tt><span style="text-decoration: underline;">p</span></tt></td>
<td>Put the text after the cursor.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.goworkday.com/2008/12/29/copying-a-block-of-text-from-one-file-to-another-in-vi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
