<?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>keke&#039;s blog</title>
	<atom:link href="http://www.imkeke.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.imkeke.net</link>
	<description>design my life...</description>
	<lastBuildDate>Tue, 20 Sep 2011 12:56:48 +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>2011 Macbook Pro 13&#8242; 键盘清理</title>
		<link>http://www.imkeke.net/life/2011-macbook-pro-13-clean-keyboard.html</link>
		<comments>http://www.imkeke.net/life/2011-macbook-pro-13-clean-keyboard.html#comments</comments>
		<pubDate>Tue, 20 Sep 2011 12:56:48 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[macbook pro]]></category>
		<category><![CDATA[清理键盘]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=1367</guid>
		<description><![CDATA[中秋回家的时候外甥女给 MBP 倒了点可乐喝喝，当我发现的时候，立马断电，然后用电吹风吹了好一会儿，不得不说苹果在防水上是花了点功夫的，当时几天都没有出现症状。悲剧的是当可乐的... ]]></description>
			<content:encoded><![CDATA[<p>中秋回家的时候外甥女给 MBP 倒了点可乐喝喝，当我发现的时候，立马断电，然后用电吹风吹了好一会儿，不得不说苹果在防水上是花了点功夫的，当时几天都没有出现症状。悲剧的是当可乐的水蒸发完后留下了很粘的糖水，致使有几颗按键没有了弹性，奇怪的是症状是突然发生的，都不知道怎么处理，因为在网上看到键盘不能拆，所以有点担心。</p>
<p>不过后来又搜到了 <a href="http://bbs.weiphone.com/read-htm-tid-340333.html" title="一步一步教你清洗 Macbook 键盘">这个帖子</a> 和 <a href="http://www.youtube.com/watch?v=MsNaoCrKkgI" title="How to correctly fix the Spacebar key! Here - Apple MacBook Pro Unibody">这个视频</a>，就自己动手掰了，事实证明键盘帽是可以掰起来的，拆下后看到果然有很多粘糊糊的糖水粘在上面，这样就不觉得奇怪为什么键盘没有弹性了，将这些东西洗掉安装上去后，键盘又回来了。</p>
<h3  class="related_post_title">Random Posts：</h3><ul class="related_post"><li>2008-02-29 -- <a href="http://www.imkeke.net/linux/ubuntu-hardy.html" title="尝试ubuntu8.04失败">尝试ubuntu8.04失败</a> (6)</li><li>2007-11-01 -- <a href="http://www.imkeke.net/linux/ubuntu-god-oh.html" title="真的要放弃gusty？">真的要放弃gusty？</a> (5)</li><li>2009-08-31 -- <a href="http://www.imkeke.net/life/finger-dislocation.html" title="食指脱臼">食指脱臼</a> (9)</li><li>2007-12-28 -- <a href="http://www.imkeke.net/customization/7-zip-mei-hua.html" title="7-zip也能美化">7-zip也能美化</a> (3)</li><li>2008-09-19 -- <a href="http://www.imkeke.net/customization/wrmz-dock-icons.html" title="WRMZ Dock Icons">WRMZ Dock Icons</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/life/2011-macbook-pro-13-clean-keyboard.html/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>7peers 正式上线</title>
		<link>http://www.imkeke.net/f2e/7peers-start.html</link>
		<comments>http://www.imkeke.net/f2e/7peers-start.html#comments</comments>
		<pubDate>Mon, 18 Jul 2011 10:29:33 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[F2e]]></category>
		<category><![CDATA[7peers]]></category>
		<category><![CDATA[dewdewtree]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=1362</guid>
		<description><![CDATA[关注 DewDewTree。 Random Posts：2007-05-14 -- Firefox—My favourite browser! (0)2008-09-25 -- 生日 (7)2009-10-18 -- Grub2引导Windows xp (3)2009-06-25 -- 又蓝了 (3)2008-12-21 -- 王若琳 -《Joanna &#038; 王若琳》 (1... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.7peers.com/"><img class="alignnone" title="7peers" src="http://www.7peers.com/static/images/logo_02.png" alt="" width="328" height="192" /></a></p>
<p>关注 <a title="我做的" href="http://weibo.com/dewdewtree">DewDewTree</a>。</p>
<h3  class="related_post_title">Random Posts：</h3><ul class="related_post"><li>2007-05-30 -- <a href="http://www.imkeke.net/life/video-in-youtube.html" title="视频插件测试！">视频插件测试！</a> (4)</li><li>2008-10-29 -- <a href="http://www.imkeke.net/linux/rm-rf.html" title="rm -rf /">rm -rf /</a> (2)</li><li>2009-02-12 -- <a href="http://www.imkeke.net/windows/xp-error.html" title="出错">出错</a> (5)</li><li>2010-08-19 -- <a href="http://www.imkeke.net/customization/xnview-nofit-view.html" title="XnView以实际大小查看">XnView以实际大小查看</a> (2)</li><li>2009-01-01 -- <a href="http://www.imkeke.net/linux/pypanel-configuration.html" title="Pypanel一个配置">Pypanel一个配置</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/f2e/7peers-start.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>在 Vim 中设置 Tab</title>
		<link>http://www.imkeke.net/vim-2/vim-tab-config.html</link>
		<comments>http://www.imkeke.net/vim-2/vim-tab-config.html#comments</comments>
		<pubDate>Wed, 20 Apr 2011 03:23:36 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[Vim]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=1333</guid>
		<description><![CDATA[缩进用 tab 制表符还是空格，这不是个问题，就像 python 用四个空格来缩进一样，这是要看个人喜好的。在 Vim 中可以很方便的根据不同的文件类型来设置使用 tab 制表符或者空格，还可以设置长... ]]></description>
			<content:encoded><![CDATA[<p>缩进用 tab 制表符还是空格，这不是个问题，就像 python 用四个空格来缩进一样，这是要看个人喜好的。在 Vim 中可以很方便的根据不同的文件类型来设置使用 tab 制表符或者空格，还可以设置长度，非常灵活。</p>
<p>首先来看如何设定 tab 的宽度以及如何确定用 tab 制表符还是空格来表示一个缩进：</p>
<p><code lang="vim"><br />
set tabstop=4<br />
set softtabstop=4<br />
set shiftwidth=4<br />
set noexpandtab / expandtab<br />
</code></p>
<h4>说明：</h4>
<p></p>
<p>其中 <code lang="vim" inline="true">tabstop</code> 表示一个 tab 显示出来是多少个空格的长度，默认 8。</p>
<p><code lang="vim" inline="true">softtabstop</code> 表示在编辑模式的时候按退格键的时候退回缩进的长度，当使用 <code lang="vim" inline="true">expandtab</code> 时特别有用。</p>
<p><code lang="vim" inline="true">shiftwidth</code> 表示每一级缩进的长度，一般设置成跟 <code lang="vim" inline="true">softtabstop</code> 一样。
<p>当设置成 <code lang="vim" inline="true">expandtab</code> 时，缩进用空格来表示，<code lang="vim" inline="true">noexpandtab</code> 则是用制表符表示一个缩进。</P></p>
<h4>根据文件类型来设置 tab：</h4>
<p></p>
<p>有些时候想为某些类型的文件设置不同的 tab 表现，如 python 用四个空格来表示一个缩进，在我们的 javascript 约定中也是用四个空格来表示缩进，而 HTML 和 CSS 则喜欢用 tab 制表符来缩进，那么可以做如下设置：</p>
<p><code lang="vim"><br />
if has("autocmd")<br />
	autocmd FileType javascript setlocal ts=4 sts=4 sw=4 expandtab<br />
	autocmd FileType python setlocal ts=4 sts=4 sw=4 expandtab<br />
endif<br />
</code></p>
<p>这样当开打的文件是 <code lang="vim" inline="true">.js</code> <code lang="vim" inline="true">.py</code> 的，都会用四个空格来缩进。</p>
<h4>用特殊符号来表示 tab 制表符：</h4>
<p></p>
<p>在 Vim 中可以用特殊的符号来表示一个 tab 制表符，这样 tab 制表符和空格就可以很容易的区分看来了，如下图：</p>
<p><img src="http://www.imkeke.net/wp-content/uploads/2011/04/vim_tab.png" alt="vim tab" style="border: none; box-shadow: none;" /></p>
<p>在 vimrc 中加入就可以了：</p>
<p><code lang="vim"><br />
set list<br />
set listchars=tab:▸\ ,eol:¬<br />
</code></p>
<h4>查看更多：</h4>
<p>
<a href="http://vimcasts.org/episodes/tabs-and-spaces/">Tabs and Spaces</a><br />
<a href="http://vimcasts.org/episodes/show-invisibles/">Show invisibles</a></p>
<h3  class="related_post_title">Related Posts：</h3><ul class="related_post"><li>2011-01-07 -- <a href="http://www.imkeke.net/vim-2/vim-set-filetype.html" title="在 Vim 中指定文件类型">在 Vim 中指定文件类型</a> (6)</li><li>2010-12-29 -- <a href="http://www.imkeke.net/vim-2/change-vim-swap-swp-files-default-path.html" title="改变Vim的swp文件路径">改变Vim的swp文件路径</a> (9)</li><li>2010-09-27 -- <a href="http://www.imkeke.net/vim-2/fresh-vim-tips-to-me.html" title="眼前一亮的Vim技巧">眼前一亮的Vim技巧</a> (12)</li><li>2010-03-09 -- <a href="http://www.imkeke.net/vim-2/zen-coding-for-vim.html" title="zen coding for vim">zen coding for vim</a> (1)</li><li>2009-12-02 -- <a href="http://www.imkeke.net/vim-2/sparkup-for-vim.html" title="sparkup for vim">sparkup for vim</a> (7)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/vim-2/vim-tab-config.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>在 Vim 中指定文件类型</title>
		<link>http://www.imkeke.net/vim-2/vim-set-filetype.html</link>
		<comments>http://www.imkeke.net/vim-2/vim-set-filetype.html#comments</comments>
		<pubDate>Fri, 07 Jan 2011 06:05:38 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[Vim]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=1323</guid>
		<description><![CDATA[起因 最近在修改一个很老的项目，既然是修改，必定是在原有的文件上面进行的，嵌套后的文件都是以 vm 为扩展名的（JAVA？），用 Vim 打开后不仅语法高亮没有像 HTML 那样漂亮，就连 matchit 用... ]]></description>
			<content:encoded><![CDATA[<h4>起因</h4>
<p>最近在修改一个很老的项目，既然是修改，必定是在原有的文件上面进行的，嵌套后的文件都是以 vm 为扩展名的（JAVA？），用 Vim 打开后不仅语法高亮没有像 HTML 那样漂亮，就连 matchit 用%在标签之间切换也失效，用 snipMate 管理的代码片段也无法使用了。</p>
<h4>解决方案</h4>
<p>使用以下指令：</p>
<p><code>set filetype=html</code></p>
<p>不过每次打开文件再输入指令非常麻烦，可以在 vimrc 中加入：</p>
<p><code>au BufRead,BufNewFile *.vm set filetype=html</code></p>
<h3  class="related_post_title">Related Posts：</h3><ul class="related_post"><li>2011-04-20 -- <a href="http://www.imkeke.net/vim-2/vim-tab-config.html" title="在 Vim 中设置 Tab">在 Vim 中设置 Tab</a> (8)</li><li>2010-12-29 -- <a href="http://www.imkeke.net/vim-2/change-vim-swap-swp-files-default-path.html" title="改变Vim的swp文件路径">改变Vim的swp文件路径</a> (9)</li><li>2010-09-27 -- <a href="http://www.imkeke.net/vim-2/fresh-vim-tips-to-me.html" title="眼前一亮的Vim技巧">眼前一亮的Vim技巧</a> (12)</li><li>2010-03-09 -- <a href="http://www.imkeke.net/vim-2/zen-coding-for-vim.html" title="zen coding for vim">zen coding for vim</a> (1)</li><li>2009-12-02 -- <a href="http://www.imkeke.net/vim-2/sparkup-for-vim.html" title="sparkup for vim">sparkup for vim</a> (7)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/vim-2/vim-set-filetype.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://www.imkeke.net/life/bye-2010.html</link>
		<comments>http://www.imkeke.net/life/bye-2010.html#comments</comments>
		<pubDate>Fri, 31 Dec 2010 16:00:17 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=1316</guid>
		<description><![CDATA[2010 值得记录的： 毕业了 工作了 见了丈母娘了 没什么好写的。 毕业后在宁波的一家小公司干了将近半年，说来也巧，很早就在网上认识的 Fransic 原来也在那里，半年里一起讨论技术和 Vim 操... ]]></description>
			<content:encoded><![CDATA[<h4>2010 值得记录的：</h4>
<ul>
<li><a href="#fooGraduation">毕业了</a></li>
<li><a href="#fooWork">工作了</a></li>
<li><a href="#fooHappy">见了丈母娘了</a></li>
</ul>
<h5 id="fooGraduation"></h5>
<p>没什么好写的。</p>
<h5 id="fooWork"></h5>
<p>毕业后在宁波的一家小公司干了将近半年，说来也巧，很早就在网上认识的 <a href="http://blog.francistm.com/" title="Fransic">Fransic</a> 原来也在那里，半年里一起讨论技术和 Vim 操作，还是很怀念的，后来在那边工作最多的还是对产品设计方面的抱怨，按当下流行的话就是：</p>
<blockquote><p>
当初是你要修改，修改就修改；现在又要拍脑袋让我改回来；设计不是你想改，想改就能改；让我改版让我修改你丫自己来！
</p></blockquote>
<p>任何产品都逃脱不了修改，但是超过那个度而对工作不报任何希望，也没有任何激情，这样就不好了。</p>
<p>
然后就是来到了杭州，刚来没有几天，生活和工作上也渐渐适应，唯一的怨念就是会太多，很晚走。然后也见到了交了好几年的 <a href="http://imtx.me" title="主席">TualatriX</a>，<a href="http://www.imchao.net/" title="imchao">吼吼</a>。
</p>
<h5 id="fooHappy"></h5>
<p>
国庆的时候去了女友家，见到了传说中的爸爸妈妈爷爷奶奶，我又有一个新家了，从此我的心中就又多了几个人。
</p>
<h4>2011 要做的</h4>
<p>
<strong>认认真真把 JavaScript 学好，喊了很久了。</strong>
</p>
<p>
PS: 在公司匆匆写完，下班赶火车。</p>
<h3  class="related_post_title">Related Posts：</h3><ul class="related_post"><li>2010-06-12 -- <a href="http://www.imkeke.net/default/say-nothing.html" title="看图不说话">看图不说话</a> (13)</li><li>2010-03-01 -- <a href="http://www.imkeke.net/life/the-last-term.html" title="最后一个学期">最后一个学期</a> (3)</li><li>2009-04-21 -- <a href="http://www.imkeke.net/life/no-title-09.html" title="无题">无题</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/life/bye-2010.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>改变Vim的swp文件路径</title>
		<link>http://www.imkeke.net/vim-2/change-vim-swap-swp-files-default-path.html</link>
		<comments>http://www.imkeke.net/vim-2/change-vim-swap-swp-files-default-path.html#comments</comments>
		<pubDate>Wed, 29 Dec 2010 05:17:04 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[Vim]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=1308</guid>
		<description><![CDATA[在用 Vim 编辑 Dropbox 下面的文本文件时，默认情况下在当前目录会出现一个 .swp 文件，文件的作用就不多说了，就是当这个文件产生时 Dropbox 一直处于同步状态，看着很不爽，另外一个情况就是... ]]></description>
			<content:encoded><![CDATA[<p>在用 Vim 编辑 Dropbox 下面的文本文件时，默认情况下在当前目录会出现一个 .swp 文件，文件的作用就不多说了，就是当这个文件产生时 Dropbox 一直处于同步状态，看着很不爽，另外一个情况就是在 svn 或者 git 中 .swp 文件也会出现，当然可以设置一下来忽略它，不过  Vim 默认可以将 .swp 移动到指定的位置，而不是当前文件夹下，在 vimrc 中加入：<br />
<code>set directory=~/tmp,/tmp </code><br />
Vim 会先找 ~/tmp 如果有，.swp 文件就暂时放到此处，如果没有就会找下一个，路径用逗号隔开，逗号后面不要加空格，因为我试了下出错了。这样 .swp 文件就会乖乖的跑到指定位置了:D</p>
<h3  class="related_post_title">Related Posts：</h3><ul class="related_post"><li>2011-04-20 -- <a href="http://www.imkeke.net/vim-2/vim-tab-config.html" title="在 Vim 中设置 Tab">在 Vim 中设置 Tab</a> (8)</li><li>2011-01-07 -- <a href="http://www.imkeke.net/vim-2/vim-set-filetype.html" title="在 Vim 中指定文件类型">在 Vim 中指定文件类型</a> (6)</li><li>2010-09-27 -- <a href="http://www.imkeke.net/vim-2/fresh-vim-tips-to-me.html" title="眼前一亮的Vim技巧">眼前一亮的Vim技巧</a> (12)</li><li>2010-03-09 -- <a href="http://www.imkeke.net/vim-2/zen-coding-for-vim.html" title="zen coding for vim">zen coding for vim</a> (1)</li><li>2009-12-02 -- <a href="http://www.imkeke.net/vim-2/sparkup-for-vim.html" title="sparkup for vim">sparkup for vim</a> (7)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/vim-2/change-vim-swap-swp-files-default-path.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>表格边框颜色</title>
		<link>http://www.imkeke.net/f2e/talk-about-table-color.html</link>
		<comments>http://www.imkeke.net/f2e/talk-about-table-color.html#comments</comments>
		<pubDate>Mon, 15 Nov 2010 01:46:14 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[F2e]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=1285</guid>
		<description><![CDATA[为什么碰到表格我都想记录一下，:) 这次是关于表格边框的，碰到问题后也折腾了一小会儿才完成，记录后可能会记得更加牢固。 一 表格的外观及结构 &#160; HTML 代码如下： 发布日期： 2010-11-1... ]]></description>
			<content:encoded><![CDATA[<p>为什么碰到表格我都想记录一下，:) 这次是关于表格边框的，碰到问题后也折腾了一小会儿才完成，记录后可能会记得更加牢固。</p>
<h4>一 表格的外观及结构</h4>
<p>&nbsp;</p>
<p><img src="http://www.imkeke.net/wp-content/uploads/2010/11/table.png" alt="目的外观" /></p>
<p>HTML 代码如下：</p>
<p><code lang="html"></p>
<table border="1">
<tr>
<td class="bkf0">发布日期：</td>
<td>2010-11-10</td>
<td class="bkf0">工作地点：</td>
<td>宁波</td>
</tr>
<tr>
<td class="bkf0">性别要求：</td>
<td>女</td>
<td class="bkf0">年龄要求：</td>
<td>16-25岁</td>
</tr>
</table>
<p></code></p>
<h4>二 几种样式设定</h4>
<p>首先是不加任何样式，会默认显示：</p>
<p><img src="http://www.imkeke.net/wp-content/uploads/2010/11/table1.png" alt="原始表格外观" /></p>
<p>如果加入下面这段 CSS reset：</p>
<p><code lang="css"><br />
	table {<br />
		border-collapse:collapse;<br />
		border-spacing:0;<br />
	}<br />
</code></p>
<p>这时显示成了：</p>
<p><img src="http://www.imkeke.net/wp-content/uploads/2010/11/table3.png" alt="设置了css reset的表格外观" /></p>
<p>把 table 的 border-color 设置一下是否可行，加入以下代码：</p>
<p><code lang="css"><br />
	table {<br />
		border-collapse:collapse;<br />
		border-spacing:0;<br />
		border-color: red;<br />
	}<br />
</code></p>
<p>这时在 Firefox 3 下达到了预期的效果，chrome 下改变了间隔和表格边框的颜色（但是并不一致），而 IE 下就比较令人费解了，表格的四个边框产生了一种渐变效果，将 #ccc 改成 red 就能看得更加明显了：</p>
<p><img src="http://www.imkeke.net/wp-content/uploads/2010/11/table4.png" alt="设置了border-color后的表格外观" /></p>
<p>没有达到预期的效果，继续改进，看看直接设置 border 会怎样，将 CSS 代码改成：</p>
<p><code lang="css"><br />
	table {<br />
		border-collapse:collapse;<br />
		border-spacing:0;<br />
		border: 1px solid red;<br />
	}<br />
</code></p>
<p>这时在 chrome 下也达到预期效果了，IE 没有变化，此法还不够。注意到 IE 下面表格的外边框确实变成单一的红色了，只是间隔线没有变化，就试了下如下代码：</p>
<p><code lang="css"><br />
	table {<br />
		border-collapse:collapse;<br />
		border-spacing:0;<br />
		border: 1px solid red;<br />
	}<br />
	table td {<br />
		border-color: red;<br />
	}<br />
</code></p>
<p>达到预期的效果，over！</p>
<h4>三 最终代码</h4>
<p>&nbsp;</p>
<p><code lang="css"><br />
	table {<br />
		border-collapse:collapse;<br />
		border-spacing:0;<br />
		border: 1px solid #ccc;<br />
	}<br />
	table td {<br />
		border-color: #ccc;<br />
		padding: 10px 0;<br />
		width: 130px;<br />
		text-align: center;<br />
	}<br />
	.bkf0 {<br />
		background: #f0f0f0;<br />
	}<br />
</code></p>
<h3  class="related_post_title">Related Posts：</h3><ul class="related_post"><li>2010-08-24 -- <a href="http://www.imkeke.net/f2e/ie6-7-table-hr-height-bug.html" title="IE6, 7无法设置表格行高">IE6, 7无法设置表格行高</a> (9)</li><li>2010-08-20 -- <a href="http://www.imkeke.net/f2e/div-img-padding.html" title="div中包含img时底部出现空隙">div中包含img时底部出现空隙</a> (6)</li><li>2009-09-22 -- <a href="http://www.imkeke.net/design/css-tab-designer.html" title="CSS Tab Designer">CSS Tab Designer</a> (5)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/f2e/talk-about-table-color.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>换肤</title>
		<link>http://www.imkeke.net/default/change-blog-theme-2.html</link>
		<comments>http://www.imkeke.net/default/change-blog-theme-2.html#comments</comments>
		<pubDate>Sun, 14 Nov 2010 02:33:09 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=1275</guid>
		<description><![CDATA[Related Posts：2009-07-10 -- minimal Dark by iamfuss (0)2009-06-20 -- Retrouble by evill3nny (0)2009-06-16 -- Azenis 2 gtk by seanbarman (0)2009-06-15 -- HumanNature by Bababoss (0)2009-06-04 -- Filosofia by ~lassekongo83 (3... ]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="pinkanyway" src="http://www.imkeke.net/wp-content/uploads/2010/11/pink-anyway.png" alt="" width="500" height="387" /></p>
<h3  class="related_post_title">Related Posts：</h3><ul class="related_post"><li>2009-07-10 -- <a href="http://www.imkeke.net/customization/minimal-dark-by-iamfuss.html" title="minimal Dark by iamfuss">minimal Dark by iamfuss</a> (0)</li><li>2009-06-20 -- <a href="http://www.imkeke.net/customization/retrouble-by-evill3nny.html" title="Retrouble by evill3nny">Retrouble by evill3nny</a> (0)</li><li>2009-06-16 -- <a href="http://www.imkeke.net/customization/azenis-2-gtk-by-seanbarman.html" title="Azenis 2 gtk by seanbarman">Azenis 2 gtk by seanbarman</a> (0)</li><li>2009-06-15 -- <a href="http://www.imkeke.net/customization/humannature-by-bababoss.html" title="HumanNature by Bababoss">HumanNature by Bababoss</a> (0)</li><li>2009-06-04 -- <a href="http://www.imkeke.net/customization/filosofia-by-lassekongo83.html" title="Filosofia by ~lassekongo83">Filosofia by ~lassekongo83</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/default/change-blog-theme-2.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>眼前一亮的Vim技巧</title>
		<link>http://www.imkeke.net/vim-2/fresh-vim-tips-to-me.html</link>
		<comments>http://www.imkeke.net/vim-2/fresh-vim-tips-to-me.html#comments</comments>
		<pubDate>Mon, 27 Sep 2010 03:19:49 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[Vim]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=1258</guid>
		<description><![CDATA[Vim 也用了有一段时间了，每次在网上碰到一个有用的技巧就像捡到宝贝了一样，所以在某个时候开始进行了记录。下面一些技巧是我觉得比较有用的： 1. 编辑在缓存中的两个文件快速切换命令... ]]></description>
			<content:encoded><![CDATA[<p>Vim 也用了有一段时间了，每次在网上碰到一个有用的技巧就像捡到宝贝了一样，所以在某个时候开始进行了记录。下面一些技巧是我觉得比较有用的：</p>
<h4>1. 编辑在缓存中的两个文件快速切换命令</h4>
<p>比如在同一个窗口中先后打开了 file1.txt 和 file2.txt ，这时候使用 Ctrl+^ 可以在同一窗口中来回切换这两个文件。</p>
<h4>2. v 或者 V 之后按 o</h4>
<p>选中一段文字或几行内容，按 o 可以在选中文本的两端进行跳转，非常有用。</p>
<h4>3. 用一条命令删除第 50 行到 100 行</h4>
<p>是在一次面试中被问到的一个问题，当时没回答出来，但是永远也不会忘记了。</p>
<p><code>:50, 100d</code></p>
<h4>4. 分割窗口切换</h4>
<p>默认分割窗口的切换需要 Ctrl+w 与其他按键配合使用，下面的配置我觉得更加方便一些：</p>
<p><code><br />
map <C-j> <C-W>j<br />
map <C-k> <C-W>k<br />
map <C-h> <C-W>h<br />
map <C-l> <C-W>l<br />
</code></p>
<h4>5. 让 Command Mode 也有 Bash 的 Key Binding</h4>
<p>习惯 Bash 下按键方式的同学不妨试试下面的配置：</p>
<p><code lang="css"><br />
cmap <c-a> <home><br />
cmap <c-e> <end><br />
cnoremap <c-b> <left><br />
cnoremap <c-d> <del><br />
cnoremap <c-f> <right><br />
cnoremap <c-n> <down><br />
cnoremap <c-p> <up><br />
</code></p>
<h3  class="related_post_title">Related Posts：</h3><ul class="related_post"><li>2011-04-20 -- <a href="http://www.imkeke.net/vim-2/vim-tab-config.html" title="在 Vim 中设置 Tab">在 Vim 中设置 Tab</a> (8)</li><li>2011-01-07 -- <a href="http://www.imkeke.net/vim-2/vim-set-filetype.html" title="在 Vim 中指定文件类型">在 Vim 中指定文件类型</a> (6)</li><li>2010-12-29 -- <a href="http://www.imkeke.net/vim-2/change-vim-swap-swp-files-default-path.html" title="改变Vim的swp文件路径">改变Vim的swp文件路径</a> (9)</li><li>2010-03-09 -- <a href="http://www.imkeke.net/vim-2/zen-coding-for-vim.html" title="zen coding for vim">zen coding for vim</a> (1)</li><li>2009-12-02 -- <a href="http://www.imkeke.net/vim-2/sparkup-for-vim.html" title="sparkup for vim">sparkup for vim</a> (7)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/vim-2/fresh-vim-tips-to-me.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>用Stylebot自定义网页</title>
		<link>http://www.imkeke.net/customization/stylebot-customization-web.html</link>
		<comments>http://www.imkeke.net/customization/stylebot-customization-web.html#comments</comments>
		<pubDate>Thu, 26 Aug 2010 03:37:44 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[stylebot]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=1253</guid>
		<description><![CDATA[Stylebot是一款Chrome的扩展，作用是可自定义任何网页。比如看哪个页面不爽，就可以自行修改。 安装后的提示： 比如最近实在看不惯twitter首页的Who to follow了，用Stylebot就可以轻松的将其隐藏掉... ]]></description>
			<content:encoded><![CDATA[<p><a title="stylebot" href="https://chrome.google.com/extensions/detail/oiaejidbmkiecgbjeifoejpgmdaleoha">Stylebot</a>是一款Chrome的扩展，作用是可自定义任何网页。比如看哪个页面不爽，就可以自行修改。</p>
<p>安装后的提示：</p>
<p><img class="alignnone size-full wp-image-1254" title="stylebot-install" src="http://www.imkeke.net/wp-content/uploads/2010/08/stylebot-install.png" alt="" width="461" height="164" /></p>
<p>比如最近实在看不惯twitter首页的Who to follow了，用Stylebot就可以轻松的将其隐藏掉，开打twitter首页后，点击地址栏右侧的css字样，会打开Stylebot：</p>
<p><img class="alignnone size-full wp-image-1255" title="stylebot-ui" src="http://www.imkeke.net/wp-content/uploads/2010/08/stylebot-ui.png" alt="" width="322" height="674" /></p>
<p>然后选中“Who to follow”那个区块，点击“Visibility &amp; Layout”中的“hidden”即可。</p>
<p>更详细的介绍可以看<a title="Stylebot 設計網頁不用懂CSS語法， 親切版Stylish隨意改造網站" href="http://playpcesor.blogspot.com/2010/08/stylebot-css-stylish.html">这里</a>。</p>
<h3  class="related_post_title">Random Posts：</h3><ul class="related_post"><li>2011-04-20 -- <a href="http://www.imkeke.net/vim-2/vim-tab-config.html" title="在 Vim 中设置 Tab">在 Vim 中设置 Tab</a> (8)</li><li>2007-05-17 -- <a href="http://www.imkeke.net/browser/firefox-addon.html" title="添加了一个firefox扩展！">添加了一个firefox扩展！</a> (2)</li><li>2009-06-25 -- <a href="http://www.imkeke.net/life/blue-again.html" title="又蓝了">又蓝了</a> (3)</li><li>2007-06-30 -- <a href="http://www.imkeke.net/linux/explore2fs-on-xp.html" title="windows下访问ubuntu资源">windows下访问ubuntu资源</a> (5)</li><li>2010-06-12 -- <a href="http://www.imkeke.net/default/say-nothing.html" title="看图不说话">看图不说话</a> (13)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/customization/stylebot-customization-web.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

