<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[[实践OK]Sublime Text 3 插件安装及Vim 模式设置]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Mon, 22 Aug 2016 03:33:34 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	背景：想把sublime改成vim，但是对于列模式可视块这种需要ctrl+v这种变成粘贴了，而产生冲突，最后还是修改回去了。<br/>本文部分摘自：http://www.cnblogs.com/zuike/p/4402022.html<br/>启用 Vim 模式<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在菜单栏中： Preferences -&gt; Setting - User ，即可打开配置文件进行编辑，将 ignored_packages 项的[]里面内容清空：<br/><br/> &quot;ignored_packages&quot;:<br/>　[<br/>　]<br/><br/>　　这样就启用了 Vim 模式，按 Esc 退出编辑模式，即进入了 Vim 模式。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp; vim 模式快捷键说明请查看 http://feliving.github.io/Sublime-Text-3-Documentation/vintage.html<br/><br/>我的实践：<br/>&#123;<br/>&nbsp;&nbsp;&quot;color_scheme&quot;: &quot;Packages/User/SublimeLinter/Solarized (Dark) (SL).tmTheme&quot;,<br/>&nbsp;&nbsp;&quot;font_size&quot;: 14,<br/>&nbsp;&nbsp;&quot;ignored_packages&quot;:<br/>&nbsp;&nbsp;[<br/>&nbsp;&nbsp;&nbsp;&nbsp;&quot;Markdown Preview&quot;,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&quot;Vintage&quot;<br/>&nbsp;&nbsp;],<br/>&nbsp;&nbsp;&quot;show_encoding&quot;: true,<br/>&nbsp;&nbsp;&quot;theme&quot;: &quot;Soda Light 3.sublime-theme&quot;<br/>&#125;<br/><br/>删除掉：<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&quot;Markdown Preview&quot;,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&quot;Vintage&quot;<br/><br/><br/><br/><br/><br/> <br/><br/>启用 Ctrl 功能键及自定义功能键<br/><br/> 　　Preference-&gt;Setting User 添加如下内容:<br/><br/> 　　<br/><br/> &quot;vintage_ctrl_keys&quot;: true<br/>&nbsp;&nbsp; 这样就支持以下命令了：　　<br/><br/>Ctrl+[ : Esc键的别名<br/>Ctrl+R : Redo<br/>Ctrl+Y : 向下滚动一行<br/>Ctrl+E : 向上滚动一行<br/>Ctrl+F : 下一页<br/>Ctrl+B : 上一页<br/>　　如果觉得以上按键太复杂，可以自定义按键，找到 Vintage.sublime-package这个文件，其实是一个压缩包，改名zip后缀后解压得出文件，使用记事本打开 Default.sublime-keymap 文件，找到需要修改的快捷键进行修改即可。<br/><br/>　　例如我需要将 ctrl+f 下一页修改成 f+f 下一页：<br/><br/>　　搜索 “ctrl+f”，找到以下代码：<br/><br/>　　<br/><br/>&#123; &quot;keys&quot;: [&quot;ctrl+f&quot;], &quot;command&quot;: &quot;set_motion&quot;, &quot;args&quot;: &#123;<br/>&quot;motion&quot;: &quot;move&quot;,<br/>&quot;motion_args&quot;: &#123;&quot;by&quot;: &quot;pages&quot;, &quot;forward&quot;: true, &quot;extend&quot;: true &#125;&#125;,<br/>&quot;context&quot;: [&#123;&quot;key&quot;: &quot;setting.command_mode&quot;&#125;, &#123;&quot;key&quot;: &quot;setting.vintage_ctrl_keys&quot;&#125;]<br/>&#125;,<br/><br/> <br/><br/>修改成<br/><br/>&#123; &quot;keys&quot;: [&quot;f&quot;,&quot;f&quot;], &quot;command&quot;: &quot;set_motion&quot;, &quot;args&quot;: &#123;<br/>&quot;motion&quot;: &quot;move&quot;,<br/>&quot;motion_args&quot;: &#123;&quot;by&quot;: &quot;pages&quot;, &quot;forward&quot;: true, &quot;extend&quot;: true &#125;&#125;,<br/>&quot;context&quot;: [&#123;&quot;key&quot;: &quot;setting.command_mode&quot;&#125;, &#123;&quot;key&quot;: &quot;setting.vintage_ctrl_keys&quot;&#125;]<br/>&#125;,<br/><br/> 这样，你 按esc退出编辑模式，按两下f键，即可实现向下翻页了，大家可以尝试下将 ctrl+b 向上翻页修改成 b+b 。
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]Sublime Text 3 插件安装及Vim 模式设置]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>