Horizontal split mode
Vertical split mode
Now to switch between these files use Ctrl + W + W to toggle between these files.
By using these commands we can open n number of files.
vim -o file1.txt file2.txt
Vertical split mode
vim -O file1.txt file2.txt
Now to switch between these files use Ctrl + W + W to toggle between these files.
By using these commands we can open n number of files.
No comments:
Post a Comment