Tabbed Editing
Tabbed Editing works on Vim version higher than 7.
Open three files in separate tabs
vim –p file1 file2 file3
:tabnew newfile 🡪 Opens the file in new tab
:tabp 🡪 move to previous tab
:tabn 🡪 move to next tab
:tabc → closes the tab
:tabf 🡪 Jumps to first tab (shortform of tabfirst)
:tabl 🡪 Jumps to last tab (shortform of tablast)
:tabonly 🡪 Closes all other tab
No comments:
Post a Comment