Wednesday, December 23, 2009

Best practice to put lines into new buffer

Hi,

I have some data into Dict or List


I use actually this command in order to put data from my List to the
current buffer and saving it to a new file.

let newContent .= join(g:myListOfLines,'')
exec 'norm O' . newContent

Is there a better solution to have a real gain of time ?
Thanks

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

No comments:

Post a Comment