1, play open new Mark sign page start Vim with "vim -p filename  ...": Tabe[dit] :tabnew opens a new tab with an empty window after the current tab page. :tabe[dit] [++opt] [+cmd] :tabnew [++opt] [+cmd] Open a new tab and edit  , and the rest is similar to |:edit| . :tabf[ind] [++opt] [+cmd] Open a new tab and edit ' path ' The rest and |:find| are similar. :tab executes if it opens a new window, use the new tab instead. cannot be used for |: Diffsplit|, |:d iffpatch|, |:execute| and |:normal|. if &NBSP is omitted; The tab appears after the current tab page. If                &NBSP is specified, the new tab appears in the tabs after the page. ": 0tab cmd" Make A new tab appears in the first position. Example: Close close Mark sign page : Tabc[lose][!] Close the current tab. causes the command to fail if the following conditions occur: - There is only one tab on the screen. - if ' hidden ' does not have a position, no [!], the buffer is modified, and the buffer no other windows. buffer changes are not written, is not lost. So this can be said to be a "safe" command. : tabc[lose][!] Close Section a tab page. The failure condition is the same as above ': Tabclose ' . :tabo[nly][!] Close all other tabs. If place ' Hidden ' option, all the closed window buffers become hidden. if no place ' hidden ' but set position ' Autowrite ' Options, write back the modified ease Flushing area. Otherwise, the window containing the modified buffer is not deleted. But if you give [!], These windows become hidden. Modified buffers will never be discarded, so always not be lost in these changes.
3, switch to another tab
:tabn[ext] gt go to the Next tab page. The last tab wraps around to the first one. :tabn[ext] gt go to Page tab. The first label page is numbered 1. :tabp[revious] :tabn[ext] gT go to the previous tab page. The first tab wraps around to the last one. :tabp[revious] :tabn[ext] gt go to the front tabs. The first tab wraps around to the last one. :tabr[ewind] :tabfir[st] go to the First tab page. :tabl[ast] go to the Last tab page. 4. Other command: :tabs lists the tabs and the windows they contain. The current window displays > ". Modified buffer Display "+". 5, heavy new row column Mark sign page::tabm[ove] [n] Move the current tab to the N tab page. Use 0 to make the current tab the first Mark Sign page. If there is no n, the current tab becomes the last. 6, follow times Calendar have Mark sign page: :tabd[o] Perform on each tab. roughly equivalent to: only operates on the current window of each tab. If an error occurs on a tab, no longer Continue to access the remaining tabs. last tab ( or any tab that goes wrong) becomes the current tab page. can include ' | ' to connect multiple commands. Cannot open tabs, Close the tab or rearrange the tab pages. See also |:windo|, |: argdo| and |:bufdo|.
Vim opens multiple Files with multiple tabs