Thanks a lot for the explanation.
I like the 'paste' solution. It works exactly like what I want.

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
In variable foo, there is no tab in third line. However, the execution of
normal will give a tab. This is due to autoindent. Turning off the option
'paste', like how Christian Ebert did, will solve this issue.

Anna

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

Reply via email to