Reputation:
I am currently reading a manual about how to compile and run a program. Currently I have two terminals, one terminal shows the manual, the other terminal is where I follow the instructions and type the command. Is it possible to do those two things in one terminal. Just like show two files in one terminal. I want to read the instruction in the left side of the terminal window and type command in the right side of the terminal window. Any advice?
Upvotes: 0
Views: 95
Reputation: 196546
I don't know what's your problem, having two terminal emulator windows side by side is perfectly acceptable. If you really want to add complexity to your learning experience, you can try one of these terminal multiplexers:
or, if such a thing exists for your platform, a terminal emulator with split windows like:
Upvotes: 1
Reputation: 18550
you can use one of the following
:tabe filename
to open a new tab containing filename or nothing for a blank tab.
gt
to switch and gT
to switch backwards.
:sp
to split the current window ^w j to jump down and ^w k to jump up
or :vsp
to split vertically (so you can read in the left) ^w h to jump left and ^w l to jump right
all key strokes are in command mode
Upvotes: 0
Reputation: 1
In VIM you can create new "windows"/panes just type
:vnew
For vertical window and
:new
For horizontal window
If you want to know more about windows you can check this or if you want to know more about VIM features you can try this
Upvotes: 0