>> >> I know that commands like ':stselect' or ':stjump' will list all the tags >> that >> match and will split the window when one is chosen. But, most of the >> time I >> just need to check the signature of a function or the parameters I have >> to >> pass. List the tags in the command window isn't good since the signature >> of >> the function will disappear when I got back in '-- INSERT --' mode. >> >> There is a way to show the tags search result in a splited window or >> the >> quickfix window? Having the possibility of see the list of matches while I >> am >> writing is enough and quick for me. > > I think that you're reaching for the :ptselect and :ptjump commands. > They make use of the Preview window, which is a small split window > which appears below the current window. > > Actually, most of the :tag* commands have a :pt* version which make > use of the preview window. Read all about it at :help tag-preview > > Erik > > -- > Erik Falor > Registered Linux User #445632 http://counter.li.org >
Well, almost. When :ptag is used the file is opened in the Preview window with the matching found. When :ptselect is used a list of possible matches is shown in the command window. Both is what I want to avoid. I don't really need to open the file where the matching tag resides. I just want to see the signature of the function. What I am looking for is a way to use :ptselect (or another variant) and show the list of possible matches in a separate window, like the preview window, instead of the command window. This has a personal motive. I am currently using MiniBufExplorer and I get accustomed to open files in a certain sequence, keeping the buffers numbers in a way that I can easily remember. Using :tag or any other variant will mess up this sequence, and that I wanna to avoid. I was thinking to make a plugin to do that. But I was not sure if it would be really needed. Maybe someone already did it. Or there is a way to configure Vim to do that it self. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
