Is there any开发者_JAVA百科 command in vim with which I can jump to an already open tab containing the file which is open in the tab.
And that too with possibility of completion among all the open buffers.
For example you have following files open in different tabs.
- readme.txt
- pom.xml
Then the command jt will autocoplete the buffer names and jump to the tab containing the buffer.
You can use the command :sb <buffer>
You'll have to :set swb=usetab
, in order to use existing open window in another tab. Otherwise it will just split the current window.
精彩评论