vim file2
yy
:e file1
7G
p
ie open file 2, grab the first line, edit file1, move to line 7 and append what you yanked.
No doubt there are ways involving two windows.
regards - Chris
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/8fe3aa5b-29fb-40fb-b170-de4f16531552n%40googlegroups.com.