<?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: Pasting in Vim</title>
	<atom:link href="http://blog.bigsmoke.us/2010/01/03/pasting-in-vim/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bigsmoke.us/2010/01/03/pasting-in-vim</link>
	<description>Smokes your problems, coughs fresh air.</description>
	<lastBuildDate>Sat, 04 Feb 2012 20:03:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: halfgaar</title>
		<link>http://blog.bigsmoke.us/2010/01/03/pasting-in-vim#comment-91416</link>
		<dc:creator>halfgaar</dc:creator>
		<pubDate>Mon, 01 Feb 2010 22:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=969#comment-91416</guid>
		<description>Hmm, my vim only has insert mode enabled once. If you go to command mode and then back to insert, it&#039;s no longer paste mode. And that&#039;s the way I prefer it.</description>
		<content:encoded><![CDATA[<p>Hmm, my vim only has insert mode enabled once. If you go to command mode and then back to insert, it&#8217;s no longer paste mode. And that&#8217;s the way I prefer it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rowan Rodrik</title>
		<link>http://blog.bigsmoke.us/2010/01/03/pasting-in-vim#comment-91378</link>
		<dc:creator>Rowan Rodrik</dc:creator>
		<pubDate>Sun, 31 Jan 2010 21:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=969#comment-91378</guid>
		<description>While researching &lt;a href=&quot;http://blog.bigsmoke.us/2010/01/31/xsel&quot; rel=&quot;nofollow&quot;&gt;another post&lt;/a&gt;, I actually just used &lt;tt&gt;:set paste&lt;/tt&gt; for the first time and was amazed by how well it works. I recommend anyone to try it. I especially like how every subsequent time that you change to insert mode, it will have this (clearly) enabled until it&#039;s explicitly disabled again.

However, in &lt;a href=&quot;http://blog.bigsmoke.us/2010/01/31/xsel&quot; rel=&quot;nofollow&quot;&gt;that same post&lt;/a&gt; that I was working on, I also introduce the following solution, which uses the excellent XSel tool to do the same, with more flexibility and power (I think). Here&#039;s an example with xsel that pastes the contents of PRIMARY:

&lt;pre&gt;
:r!xsel
&lt;/pre&gt;

Or, if you prefer the CLIPBOARD:

&lt;pre&gt;
:r!xsel -b
&lt;/pre&gt;

That&#039;s how easy it is.</description>
		<content:encoded><![CDATA[<p>While researching <a href="http://blog.bigsmoke.us/2010/01/31/xsel" rel="nofollow">another post</a>, I actually just used <tt>:set paste</tt> for the first time and was amazed by how well it works. I recommend anyone to try it. I especially like how every subsequent time that you change to insert mode, it will have this (clearly) enabled until it&#8217;s explicitly disabled again.</p>
<p>However, in <a href="http://blog.bigsmoke.us/2010/01/31/xsel" rel="nofollow">that same post</a> that I was working on, I also introduce the following solution, which uses the excellent XSel tool to do the same, with more flexibility and power (I think). Here&#8217;s an example with xsel that pastes the contents of PRIMARY:</p>
<pre>
:r!xsel
</pre>
<p>Or, if you prefer the CLIPBOARD:</p>
<pre>
:r!xsel -b
</pre>
<p>That&#8217;s how easy it is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rowan Rodrik</title>
		<link>http://blog.bigsmoke.us/2010/01/03/pasting-in-vim#comment-90534</link>
		<dc:creator>Rowan Rodrik</dc:creator>
		<pubDate>Wed, 13 Jan 2010 21:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=969#comment-90534</guid>
		<description>I often use the following if &lt;tt&gt;:insert&lt;/tt&gt; doesn&#039;t give me the desired result:

&lt;code lang=&quot;vim&quot;&gt;
:r!cat&lt;/dev/tty
&lt;/code&gt;

I learned that trick from Kim Hendrikse a long time ago. It also works in ol&#039; vi.</description>
		<content:encoded><![CDATA[<p>I often use the following if <tt>:insert</tt> doesn&#8217;t give me the desired result:</p>
<p><pre class="php">:r!cat&lt;/dev/tty</pre></p>
<p>I learned that trick from Kim Hendrikse a long time ago. It also works in ol&#8217; vi.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

