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

3.12.9 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

:r foo.txt

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



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



Matt Welsh
mdw@sunsite.unc.edu