<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>评论：vi/vim使用进阶: 智能补全</title>
	<atom:link href="http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/feed/" rel="self" type="application/rss+xml" />
	<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/</link>
	<description>关注Linux, Scala, Java, 开源软件和嵌入式系统</description>
	<lastBuildDate>Thu, 09 Sep 2010 07:07:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：疯狂的方</title>
		<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/#comment-2590</link>
		<dc:creator>疯狂的方</dc:creator>
		<pubDate>Sun, 25 Apr 2010 11:43:32 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=166#comment-2590</guid>
		<description>&lt;a href=&quot;#comment-433&quot; rel=&quot;nofollow&quot;&gt;@Mk2 &lt;/a&gt; 
能分享一下你的脚本吗？</description>
		<content:encoded><![CDATA[<p><a href="#comment-433" rel="nofollow">@Mk2 </a><br />
能分享一下你的脚本吗？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Easwy</title>
		<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/#comment-2460</link>
		<dc:creator>Easwy</dc:creator>
		<pubDate>Mon, 12 Apr 2010 01:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=166#comment-2460</guid>
		<description>&lt;a href=&quot;#comment-2445&quot; rel=&quot;nofollow&quot;&gt;@hjs-1122 &lt;/a&gt; 
1. 你的tags文件是按我文中的命令生成的吗？

ctags -R --c++-kinds=+p --fields=+iaS --extra=+q your-files

2. 在你的示例中，提示“找不到模式”是正确的。
因为你的变量a和b定义为private的，在main()中肯定访问不到private中的函数/变量。你试试加一个public的变量或者函数试试，或者在class A的成员函数中测试一下补全。我在我的机器上测试了这两种情况，都可以补全。</description>
		<content:encoded><![CDATA[<p><a href="#comment-2445" rel="nofollow">@hjs-1122 </a><br />
1. 你的tags文件是按我文中的命令生成的吗？</p>
<p>ctags -R &#8211;c++-kinds=+p &#8211;fields=+iaS &#8211;extra=+q your-files</p>
<p>2. 在你的示例中，提示“找不到模式”是正确的。<br />
因为你的变量a和b定义为private的，在main()中肯定访问不到private中的函数/变量。你试试加一个public的变量或者函数试试，或者在class A的成员函数中测试一下补全。我在我的机器上测试了这两种情况，都可以补全。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：hjs-1122</title>
		<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/#comment-2445</link>
		<dc:creator>hjs-1122</dc:creator>
		<pubDate>Sat, 10 Apr 2010 14:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=166#comment-2445</guid>
		<description>我的vim就是显示不能找到模式 代码是
// 文件名test.cpp
class A{
private:
int a;
int b;
public:
A(int a, int b){this-&gt;a = a ; this-&gt;b = b;}
};

int main(int argc, char * argv[])
{
A a;
a.(之后就报全能补全（^O^N^P）找不到模式)

}

也建立了 tags 和cscope.file 和 cscope.out
忘大侠给我一点指导 
小弟给这个问题整的有点大惨</description>
		<content:encoded><![CDATA[<p>我的vim就是显示不能找到模式 代码是<br />
// 文件名test.cpp<br />
class A{<br />
private:<br />
int a;<br />
int b;<br />
public:<br />
A(int a, int b){this-&gt;a = a ; this-&gt;b = b;}<br />
};</p>
<p>int main(int argc, char * argv[])<br />
{<br />
A a;<br />
a.(之后就报全能补全（^O^N^P）找不到模式)</p>
<p>}</p>
<p>也建立了 tags 和cscope.file 和 cscope.out<br />
忘大侠给我一点指导<br />
小弟给这个问题整的有点大惨</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：karlzheng</title>
		<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/#comment-2420</link>
		<dc:creator>karlzheng</dc:creator>
		<pubDate>Sat, 03 Apr 2010 13:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=166#comment-2420</guid>
		<description>inoremap         pumvisible()?&quot;\&quot;:&quot;\&quot;

这一句很好：）</description>
		<content:encoded><![CDATA[<p>inoremap         pumvisible()?&#8221;\&#8221;:&#8221;\&#8221;</p>
<p>这一句很好：）</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Easwy</title>
		<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/#comment-2351</link>
		<dc:creator>Easwy</dc:creator>
		<pubDate>Tue, 23 Mar 2010 01:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=166#comment-2351</guid>
		<description>&lt;a href=&quot;#comment-2344&quot; rel=&quot;nofollow&quot;&gt;@raisor &lt;/a&gt; 
颜色可以更改，看下面的手册：

:help hl-Pmenu
:help hl-PmenuSel

另外，读一下我的这篇文章：&lt;a href=&quot;http://easwy.com/blog/archives/advanced-vim-skills-syntax-on-colorscheme/&quot; rel=&quot;nofollow&quot;&gt;vi/vim使用进阶: 乱花渐欲迷人眼 – 语法高亮&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-2344" rel="nofollow">@raisor </a><br />
颜色可以更改，看下面的手册：</p>
<p>:help hl-Pmenu<br />
:help hl-PmenuSel</p>
<p>另外，读一下我的这篇文章：<a href="http://easwy.com/blog/archives/advanced-vim-skills-syntax-on-colorscheme/" rel="nofollow">vi/vim使用进阶: 乱花渐欲迷人眼 – 语法高亮</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：raisor</title>
		<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/#comment-2344</link>
		<dc:creator>raisor</dc:creator>
		<pubDate>Mon, 22 Mar 2010 09:54:04 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=166#comment-2344</guid>
		<description>你好，我想问一下，我使用javacomplete补全时，补全列表是很鲜艳的粉红色，好像跟主题无关，请问可以改成别的颜色吗？</description>
		<content:encoded><![CDATA[<p>你好，我想问一下，我使用javacomplete补全时，补全列表是很鲜艳的粉红色，好像跟主题无关，请问可以改成别的颜色吗？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Easwy</title>
		<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/#comment-2252</link>
		<dc:creator>Easwy</dc:creator>
		<pubDate>Thu, 11 Mar 2010 01:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=166#comment-2252</guid>
		<description>&lt;a href=&quot;#comment-2249&quot; rel=&quot;nofollow&quot;&gt;@stam &lt;/a&gt; 
没看懂你的问题，可否描述更清楚些？例如你是如何映射的
可以发到论坛里：http://easwy.com/forum/</description>
		<content:encoded><![CDATA[<p><a href="#comment-2249" rel="nofollow">@stam </a><br />
没看懂你的问题，可否描述更清楚些？例如你是如何映射的<br />
可以发到论坛里：http://easwy.com/forum/</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：stam</title>
		<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/#comment-2249</link>
		<dc:creator>stam</dc:creator>
		<pubDate>Wed, 10 Mar 2010 01:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=166#comment-2249</guid>
		<description>博主你好 我想问一下为什么我每次按住enter键之后都会去寻找makefile而我原来的意思就是按住enter之后去cscope查找的那一行程序 谢谢</description>
		<content:encoded><![CDATA[<p>博主你好 我想问一下为什么我每次按住enter键之后都会去寻找makefile而我原来的意思就是按住enter之后去cscope查找的那一行程序 谢谢</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：hiessu</title>
		<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/#comment-2153</link>
		<dc:creator>hiessu</dc:creator>
		<pubDate>Wed, 24 Feb 2010 04:55:43 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=166#comment-2153</guid>
		<description>&lt;a href=&quot;#comment-2151&quot; rel=&quot;nofollow&quot;&gt;@Easwy &lt;/a&gt; 感谢解答！我这应该是一个结构成员因为重名的原因无法补全的问题。</description>
		<content:encoded><![CDATA[<p><a href="#comment-2151" rel="nofollow">@Easwy </a> 感谢解答！我这应该是一个结构成员因为重名的原因无法补全的问题。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Easwy</title>
		<link>http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/#comment-2151</link>
		<dc:creator>Easwy</dc:creator>
		<pubDate>Wed, 24 Feb 2010 02:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=166#comment-2151</guid>
		<description>&lt;a href=&quot;#comment-2138&quot; rel=&quot;nofollow&quot;&gt;@hiessu &lt;/a&gt; 
我这里关于C文件的抓图使用的不是OmniCppComplete插件，而是vim自带的C补全插件，用下面的命令可以设置：
:set omnifunc=ccomplete#Complete

我试了一下，它可以补全结构成员，不过好像要手动输入&lt;C-X&gt;&lt;C-O&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-2138" rel="nofollow">@hiessu </a><br />
我这里关于C文件的抓图使用的不是OmniCppComplete插件，而是vim自带的C补全插件，用下面的命令可以设置：<br />
:set omnifunc=ccomplete#Complete</p>
<p>我试了一下，它可以补全结构成员，不过好像要手动输入&lt;C-X&gt;&lt;C-O&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
