Gabor Urban wrote:
> I am to write a simple function to insert some headers in the
> buffer.

Also, note that you do not need a loop. The following inserts
four lines before the top of the current buffer:

 let lines=['aaa','bbb','ccc','ddd']
 call append(0, lines)

John


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

Reply via email to