 
  
  
  
  
 
 Next: 3.12.10 Running shell commands
Up: 3.12 Using the vi 
 Previous: 3.12.8 Editing another file
 
 
 
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: 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