Importing Files into vi
You can also merge multiple files in vi by reading additional files into the current one, as shown in Figure 4.13. Basically, all this means is that you insert one file into the file you're currently editing.
Figure 4.13. Reading an additional file into the current one can make your editing tasks much easier.
To Import Files in vi: