2008/10/26 gbog <[EMAIL PROTECTED]>: > Dear vim experts, > > I have vim with ctags and a question: > > on another computer, when I did ctrl-] on a function name, if I had > two matches in ctags (file), both were displayed in the bottom of the > screen > and I could choose the one I wanted to jump to. Now I directly jump to > the first match, without any notice that I had multiple matches. I > prefer the other way, so I always know I have many matches in ctags. > How to configure my current vim for this? > > [update: I do not use cscope] > > Thanks for your help. Please cc answer by mail if possible. > > vim --version > VIM - Vi IMproved 7.0 (2006 May 7, compiled Jan 7 2007 17:44:47) > > > [posted already on comp.editors, I saw one interesting answer, but I > had hard time to reply, so I try here.]
Adding the following line to your ~/.vimrc should do what you want: noremap <c-]> g<c-]> Or, in Ex command, you can also type: :ts yourtag -- Dominique --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
