next up previous contents
Next: Running shell commands Up: Using the vi Previous: Editing another file

Including other files

  If you use the :r command, you can include the contents of another file in the current file. For example, the command

would insert the contents of the file foo.txt in the text at the current cursor location.



Ross Biro
Tue May 23 13:39:28 PDT 1995