Saturday, January 29, 2011

Delete, add 16, and insert

Hello,

I am wondering if there is a way, using some (range)s/// command, to take

0 : blah blah blah
1 : blah blah blah
2 : blah blah blah
 .
 .
 .
15 : blah blah blah

and, line by line, delete the number and replace it with itself plus 16.

Thanks,
Colin

--
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

No comments:

Post a Comment