Strav's blog


  • Front Page
  • Categories
  • Archives
  • Latest comments
  • Log in
« Replace strings in SQLPerl file open details »

vi paste contents of another file in current file

While editing a file in vi, in order to paste the contents of another file at the current location type:

:r filename_to_paste

 

Link: https://unix.stackexchange.com/questions/61273/while-in-vi-how-can-i-pull-in-insert-paste-the-contents-of-another-file

No feedback yet

  Comment feed for this post


This collection ©2026 by admin | Contact | Help | Design by Michael Heilemann | b2evolution