On Sep 9, 6:10 pm, "Gavin" <[email protected]> wrote:
>  just as the title
>
> for example
>
> struct xxx
> {
> int a;
> int b;
>
> };
>
> int xxx;
>
> struct xxx n;
>
> only i need is struct xxx definition, how could do that ?
>

I really don't know what you're trying to accomplish here. Are you
trying to jump to the definition of a struct from elsewhere in the
code? That is something ctags and cscope are both great for. Vim has
an interface to use both.

-- 
yes, just i want is 
struct xxx
{
int a;
int b;  
};

but, when i ctrl + ] on "struct xxx n;" 's xxx, ctags will show me int xxx; and 
struct xxx
{
int a;
int b;  
};

only i require is 
struct xxx
{
int a;
int b;  
};



------------------                               
Happy everyday !
2011-09-10

-------------------------------------------------------------
发件人:Ben Fritz
发送日期:2011-09-10 07:49:17
收件人:vim_use
抄送:
主题:Re: hi guys, could anybody taught how to set vim search symbol baseon data 
type


-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to