<?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]在vim的状态栏显示 当前行所在的函数名字，vim里一个函数很长（几百行），光标在函数中间的某个位置，怎么快速跳到函数头？ctrl + o 回到光标回到上次位置，及命令模式下跳转到某行。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Wed, 05 Aug 2015 03:57:06 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	在 .vimrc里添加：<br/><br/><textarea name="code" class="php" rows="15" cols="100">
fun! ShowFuncName()
&nbsp;&nbsp;let lnum = line(&quot;.&quot;)
&nbsp;&nbsp;let col = col(&quot;.&quot;)
&nbsp;&nbsp;echohl ModeMsg
&nbsp;&nbsp;echo getline(search(&quot;^[^ &#92;t#/]&#92;&#92;&#123;2&#125;.*[^:]&#92;s*$&quot;, &#039;bW&#039;))
&nbsp;&nbsp;echohl None
&nbsp;&nbsp;call search(&quot;&#92;&#92;%&quot; . lnum . &quot;l&quot; . &quot;&#92;&#92;%&quot; . col . &quot;c&quot;)
endfun
map f :call ShowFuncName() &lt;CR&gt;
</textarea><br/>按一下 f 键就能显示函数名字。<br/><br/>来自：http://blog.csdn.net/caspiansea/article/details/42570311<br/><br/><br/>vim里一个函数很长（几百行），光标在函数中间的某个位置，怎么快速跳到函数头？<br/>[]<br/>是跳到函数头。[ 是 p 右侧那个键。<br/>正常模式<br/>跳到头<br/>[[<br/>跳到尾<br/>][<br/>跳到下一个函数<br/>]]<br/>调到上一个函数<br/>[]<br/>调到上一层大括号<br/>[&#123;<br/><br/><br/>ctrl + o 回到光标回到上次位置： <br/>ESC下面那个按两下也可以实现<br/><br/><br/>命令模式下跳转到某行：<br/>比如开始在第n行,然后用mG后,跳到了m行,
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论]  [实践OK]在vim的状态栏显示 当前行所在的函数名字，vim里一个函数很长（几百行），光标在函数中间的某个位置，怎么快速跳到函数头？ctrl + o 回到光标回到上次位置，及命令模式下跳转到某行。]]></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>