> [snip]
> P.S. The following works:
>
> exe lineno 'put =\"Line 1\n---second line---\nline three\nLAST LINE\"'
>
> (where the variable named lineno contains the desired line number, of
> course). Notice the single and double quotes, the escaped quotes, and
> the single backslashes for \n.
Hello,
May I suggest using insert() and/or append(). You can send a list
through them if you like, too.
Regards,
Chip Campbell
--
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
To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
No comments:
Post a Comment