<?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>刘华栋的博客 &#187; Slippery Snippets</title>
	<atom:link href="http://www.liuhuadong.com/archives/tag/slippery-snippets/feed" rel="self" type="application/rss+xml" />
	<link>http://www.liuhuadong.com</link>
	<description>Thinking different</description>
	<lastBuildDate>Mon, 06 Feb 2012 09:14:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>强烈推荐Slippery Snippets：把textmate的功能加入到vim</title>
		<link>http://www.liuhuadong.com/archives/343/index.html</link>
		<comments>http://www.liuhuadong.com/archives/343/index.html#comments</comments>
		<pubDate>Wed, 10 Dec 2008 16:03:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Vim]]></category>
		<category><![CDATA[Slippery Snippets]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.liuhuadong.com/?p=343</guid>
		<description><![CDATA[我装Leopard的目的很大程度上是为了ssh和textmate，ssh可以在win下putty之，但textmate没有win版本，textmate其实最只要的功能就是tab跳跃性的编写代码了。但我相信vim的强大，于是就google了很久，找到了让vim textmate化的一个脚本，装上后有vim脱胎换骨的感觉。废话少说，看看如何安装这个脚本，让text的典型特性加入到vim上来。如果你也是个vim爱好者，千万别错过这篇文章。 1.下载两个文件：snippy_plugin.vba、snippy_bundles.vba。 2.建立afterftplugin目录；如：D:Program FilesVimvimfilesafterftplugin（linux略此步） 3.用vim打开snippy_plugin.vba，输入：:so %，vim会自动执行安装脚本。 4.同样用vim打开snippy_bundles.vba，输入以上命令。after目录下会生成很多vim文件。 5.windows系统此步骤忽略。若你用的是linux系统，则在~/.vimrc文件中添加一下内容： filetype on filetype plugin on set runtimepath+=~/.vim/textmateOnly set runtimepath+=~/.vim/textmateOnly/after OK，打开一个php文件输入if，然后按tab；或打开html文件输入link后按tab键，你会很兴奋于你的发现。 注意的问题：vimrc文件中不能已经定义过tab，否则冲突会导致无效。 脚本名称：Slippery Snippets 作者主页：http://slipperysnippets.blogspot.com/ 步骤1文件下载地址：http://www.vim.org/scripts/script.php?script_id=1318 Have fun , Enjoy！]]></description>
			<content:encoded><![CDATA[<p>我装Leopard的目的很大程度上是为了ssh和textmate，ssh可以在win下putty之，但textmate没有win版本，textmate其实最只要的功能就是tab跳跃性的编写代码了。但我相信vim的强大，于是就google了很久，找到了让vim textmate化的一个脚本，装上后有vim脱胎换骨的感觉。废话少说，看看如何安装这个脚本，让text的典型特性加入到vim上来。如果你也是个vim爱好者，千万别错过这篇文章。</p>
<p>1.下载两个文件：snippy_plugin.vba、snippy_bundles.vba。<br />
2.建立afterftplugin目录；如：D:Program FilesVimvimfilesafterftplugin（linux略此步）<br />
3.用vim打开snippy_plugin.vba，输入：<font color=blue>:so %</font>，vim会自动执行安装脚本。<br />
4.同样用vim打开snippy_bundles.vba，输入以上命令。after目录下会生成很多vim文件。<br />
5.windows系统此步骤忽略。若你用的是linux系统，则在~/.vimrc文件中添加一下内容：</p>
<blockquote><p>filetype on<br />
filetype plugin on<br />
set runtimepath+=~/.vim/textmateOnly<br />
set runtimepath+=~/.vim/textmateOnly/after</p></blockquote>
<p>OK，打开一个php文件输入if，然后按tab；或打开html文件输入link后按tab键，你会很兴奋于你的发现。<br />
<a href="http://xhatblog-wordpress.stor.sinaapp.com/uploads/2008/12/aeoeaeec-1.png"><img src="http://xhatblog-wordpress.stor.sinaapp.com/uploads/2008/12/aeoeaeec-1.png" alt="aeoeaeec-1" title="aeoeaeec-1" width="421" height="141" class="alignnone size-full wp-image-347" /></a><br />
注意的问题：vimrc文件中不能已经定义过tab，否则冲突会导致无效。</p>
<p>脚本名称：Slippery Snippets<br />
作者主页：<a href="http://slipperysnippets.blogspot.com/">http://slipperysnippets.blogspot.com/</a><br />
步骤1文件下载地址：<a href="http://www.vim.org/scripts/script.php?script_id=1318">http://www.vim.org/scripts/script.php?script_id=1318</a></p>
<p>Have fun , Enjoy！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liuhuadong.com/archives/343/index.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

