3

I use cscope command :cs find s someFunction and i see the long list with this function appearance, I find that I'm interested in list and open it, vim opens a file in a new window, I want to open file in a new tab.

I found several similar questions, but they did not help. For example:

vim: Open tag in new tab

how i can open open new tab from cscope list of tag

Community
  • 1
  • 1
Ivan Ivanovich
  • 880
  • 1
  • 6
  • 15

1 Answers1

12

The :tab command redirects split windows into split tabs. Just prefix your :cs command with it:

:tab cs find s someFunction
Ingo Karkat
  • 167,457
  • 16
  • 250
  • 324
  • 1
    Glad I could help. Please don't forget to accept the answer by clicking on the outlined checkmark next to it. – Ingo Karkat May 22 '15 at 08:57