On 26/12/12 03:14, Woody Wu wrote:
Hi,
When I press C-] on a word, and if there word matches more than one
tags, then vim will prompt with a list, I then choice a entry number in
the list before it jumps to the desired destination.
But, in some caess, a word can much many many tags, like I usually met
in Linux kernel code, then it comes so hard to find out what entry is
that I actually want. Here, I feel it's very good to let do some kind
of search, for example, using a same '/' key.
Is that possible? Or how do you guys do it?
BTW: I found, the ctags is not smart enough to recognize something like
'struct foo', vim will show you with all the tag named 'foo' other than
the exact struct 'struct foo'.
If ctags isn't smart enough, try cscope, and don't forget to set the
'cscopequickfix' option (see ":help csqf" without the double quotes
shown here and also without the single quotes normally surrounding an
option name).
Best regards,
Tony.
--
BEDEVERE: Look! It's the old man from scene 24 - what's he Doing here?
ARTHUR: He is the keeper of the Bridge. He asks each traveler five
questions ...
GALAHAD: Three questions.
"Monty Python and the Holy Grail" PYTHON (MONTY)
PICTURES LTD
--
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