I am a Vim beginner. I know you can do :tabnew file1 file2
to have Vim open up a bunch of files name file1, file2 spread across as tabs. I know you can move forward and backward between tabs. My problem is: when I try to open a Vim terminal using :terminal
, I can only switch back to 1 of the tab. For example, if I am in file1, I use :terminal
, I can only switch back between the terminal and file1, I cannot access file2 unless I close the terminal, which brings us back to the beginning, where we have tabs across the editor. Is it possible to cycle between Vim terminal, file1 and file2? Or I better off just use :! some commands
then use that as my way to access the terminal? That is a good idea but due to my work, I would need to see the terminal outputs. Using :! some commands
will perform terminal commands, but once you press Enter, you are back to the editor and can no longer see what happens at the terminal.
Please let me know and thank you very much for your help.
gt
andgT
it works just fine.g
thent
to move forward, org
thenshift
t
to move backward,Ctrl Shift Up
does the same but it's not the vim way since it's not let the hands on the home row.