Window tabs are everywhere and you will find this in the curret version of vim too, which as of this writing is 7.0.042-0.fc5 on fedora-core-5.
Below are notes on how you can quickly navigate between open tabs:
-
Open several fies for editing in seperate tab pages:
$ vi -p file1 file2 file3...Goto next tab:
gt
or
:tabnGoto previous tab:
gT
or
:tabpGot to a numbered tab where "#" is a number:
#gt
or
:#tabnRewind to the first tab:
:tabrOpen new tab page. Optionally you can provide a filename:
:tabnew [filename]Edit an existing file:
:tabe {filename}Split the tab page:
:tab splitClose all other tab pages:
:tabo[!]Close current tab page:
:tabc[!]To get help using tabpages:
:tab help tabpages
See other related posts on vi.