To open the new file in the split window all u need to follow the below steps
to open already existing file
vi file_name
now type
:new file_name
This will split the screen horizontally
To split the window vertically , you need to use, on open vi file window
:vsplit file_name
for more tutorial on vi
check out the links :
No comments:
Post a Comment