Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I open the terminal, it can open four pages,such as src, CMakeList.txt, rosmake fuctions.

enter image description here

How to save all pages directory when I need it ,I can load all pages in new terminal?

share|improve this question

See if you like this. To open many pages in VI, create a script to open them with one command or do it maunally -->

vi -p /home/user/first.txt /home/user/second.txt <-- Open these two files.
vi -p /home/user/*.txt  <-- Open all of the txt files in that folder.

Then to switch tabs -->

gt            go to next tab
gT            go to previous tab

Here is some more info --> VIM tab control

share|improve this answer

Did you try using Terminator?

Terminator, multiple terminals in one window.

The goal of this project is to produce a useful tool for arranging terminals. It is inspired by programs such as gnome-multi-term, quadkonsole, etc. in that the main focus is arranging terminals in grids (tabs is the most common default method, which Terminator also supports).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.