Since its 7th version, Vim has tabs functionality. You can open multiple files in tabs and do lots of wonderful things with them. To open multiple files from the console, just type:
vim -p filename1 filename2 …
Or if you’re already inside Vim, give the command,
:tabnew filename
to open a file in a new tab. You can traverse the tabs with the combinations gt and gT. To close a tab just use the exit command (:q).
There is a wide range of cool stuff you can do with tabs. To learn more, just type
:help tabs
in Vim or head to this page.
See you, bye!
Never got the hang of Vim, with all the different versions and all that. 🙁
There’s nothing to worry about the versions since we all use the latest. Just start by learning how to move around in a document in Vim. You’ll soon begin to love it. 🙂
Nah, what I meant was that there was some mismatch between the version we used at uni (Fedora/KDE) and the version I had installed at home (Ubuntu/Gnome). But yeah, should give it another try. 🙂