rking / ag.vim

Vim plugin for the_silver_searcher, 'ag', a replacement for the Perl module / CLI script 'ack'
1.74k stars 131 forks source link

silently open in tab if file already open in tab #88

Open Konfekt opened 9 years ago

Konfekt commented 9 years ago

The mapping

nnoremap T <C-w><CR><C-w>TgT<C-W><C-W>

produces an empty window wherein the cursor is buried if the opened file is already open in another tab. Any ideas how to work around this?