Vim using "cscope find s" command and opening the result in a new tab instead of a window

I am using cscope command :cs find s someFunction

and I see a long list with this kind of function, I find I am interested in the list and open it, vim opens the file in a new window, I want to open the file in a new tab.

I found several similar questions, but they didn't help. For example:

vim: Open tag in new tab

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

+3


source to share


1 answer


The command :tab

redirects split windows to shared tabs. Just attach the command to it :cs

:



:tab cs find s someFunction

      

+7


source







All Articles