<?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>Technical LeoLo &#187; indent</title>
	<atom:link href="http://blog.leolo.cc/labels/indent/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.leolo.cc</link>
	<description>My Learning note</description>
	<lastBuildDate>Thu, 12 Mar 2009 08:58:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Toggle auto-indenting for code paste in vim</title>
		<link>http://blog.leolo.cc/2009/01/22/249/</link>
		<comments>http://blog.leolo.cc/2009/01/22/249/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 03:11:06 +0000</pubDate>
		<dc:creator>leolo</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[indent]]></category>
		<category><![CDATA[paste]]></category>
		<category><![CDATA[toggle]]></category>

		<guid isPermaLink="false">http://blog.leolo.cc/?p=249</guid>
		<description><![CDATA[Pasting text into a terminal running Vim with &#8216;autoindent&#8217; or &#8217;smartindent&#8217; set can destroy the indenting of the pasted text.
How to solve this problem?
Before paste
:set paste
After paste
:set nopaste
Or we can just add this in .vimrc config file, so that we can make a toggle for this action.
set pastetoggle=&#60;F9&#62;
Reference:Toggle auto-indenting for code paste
]]></description>
		<wfw:commentRss>http://blog.leolo.cc/2009/01/22/249/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
