AMP AMP
AMP
0
AMP

Open multiple files in vim editor

Hi, How can i view or open multiple files at a same time on vim editor?

CentOS Linux vim Add a comment
a sample image
eldhapearline
asked Feb 23 2018

Answer

AMP
0
AMP

You can use the below command to open a multiple files at a same time

vim -p file1 file2

After opening the files you can use below command inside the vim editor to switch over tabs

:tabe file2
Add a comment
a sample image
parthiban
asked Mar 04 2018
edited Oct 05 2018
Post your Answer