anna klein wrote:
> For the benefit of many people, I'll describe more on the
> issue of my insertion of many sentences. Do correct me, if
> there is mistake.
> :let foo = "line1\<NL>\<Tab>line2\<NL>line3"
> :exe "normal! i".foo

You :put with the expression register:

function! PutLines()
  let foo = "line1\<NL>\<Tab>line2\<NL>line3"
  put =foo
endfunction

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to