How do I open multiple tabs at once?

How do I open multiple tabs at once?
Answer
To open multiple files in tabs:
$ vim -p source.c source.
…
  1. Open any number of tabs you wish to work with.
  2. From any tab, press Esc and enter the command mode.
  3. Type :mksession header-files-work. …
  4. Your current session of open tabs will be stored in a file header-files-work. …
  5. To see restore in action, close all tabs and Vim.
 

Tìm kiếm

Back
Top