Here is what I want to achieve: I have to insert a text after every 3 line a string.
e.g. Original Text - Line01some-text some-text some-text some-text some-text Line02some-text some-text some-text some-text some-text Line03some-text some-text some-text some-text some-text Line04some-text some-text some-text some-text some-text Line05some-text some-text some-text some-text some-text Line06some-text some-text some-text some-text some-text Line07some-text some-text some-text some-text some-text Line08some-text some-text some-text some-text some-text Line09some-text some-text some-text some-text some-text Line10some-text some-text some-text some-text some-text Line11some-text some-text some-text some-text some-text Line12some-text some-text some-text some-text some-text Edited Text - Line01some-text some-text some-text some-text some-text Line02some-text some-text some-text some-text some-text Line03some-text some-text some-text some-text some-text <inserted-text> Line04some-text some-text some-text some-text some-text Line05some-text some-text some-text some-text some-text Line06some-text some-text some-text some-text some-text <inserted-text> Line07some-text some-text some-text some-text some-text Line08some-text some-text some-text some-text some-text Line09some-text some-text some-text some-text some-text <inserted-text> Line10some-text some-text some-text some-text some-text Line11some-text some-text some-text some-text some-text Line12some-text some-text some-text some-text some-text <inserted-text> I hope that you got the problem -- 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 To unsubscribe, reply using "remove me" as the subject.