I posted following question some time back:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is it possible to have a setup in .vimrc so that every
time I select tag either through "CTRL-]" or by
holding CTRL and pressing left mouse click to open a
new buffer in a new tab?

and got following answer that works:
:map <C-]> :exe "tab stag" expand("<cword>")<CR>
:map <C-LeftMouse> :exe "tab stag"
expand("<cword>")<CR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The trouble I am having at the moment is that this
approach leads to a quick proliferation of open file
tabs. Ideally, Vim should not open a new tab for the
the file that already has a tab. Rather, it should
simply reuse an existing tab and position itself
within an open tab. Is there a way to get that done?

Thanks in advance,
Zarko




 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

Reply via email to