I don't know of a way you can make :grep work like :tselect with tags.
But perhaps it would suit you to do
:copen
and then scroll with your cursor in that window and hit Enter on the
match you want to go to. Do you know about that?
To make it more convenient you could wrap the :grep command in some user
command to automate the opening of the quickfix window (:copen) and have
an autocommand to close it when it is left or map to close it when you
press Enter on an item (perhaps--don't know how that would interact with
Vim's current behaviour for Enter in a quickfix--it might already be a
map of some kind).
Ben.
You can use the Grep Vim plugin which provides the above functionality
and other additional features:
http://vim.sourceforge.net/scripts/script.php?script_id=311
- Yegappan
Well, one way is to just delete those commands in a script that you're
sure will run after the grep plugin. Assuming it's
~/.vim/plugin/grep.vim, I suggest putting the following in
~/.vim/after/plugin/grep.vim (create all necessary directories, too):
:delcommand Egrep
:delcommand Fgrep
:delcommand Agrep
Ben.