* Tony Mechelynck <antoine.mechely...@gmail.com> [101112 14:19]: > > That can still be simplified: > > for line in lines > exe 'norm! i' . line > if line isnot lines[-1] " cool! 'isnot' is new to me > norm! o > endif > endfor Thanks for the tip on *isnot* Tony -- Tim tim at johnsons-web.com or akwebsoft.com http://www.akwebsoft.com
-- 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