Couldn't you also you use visual block mode and then run a regex command on it?
~Mike On May 18, 2013, at 11:32 AM, Gary Johnson <garyj...@spocom.com> wrote: > On 2013-05-18, meino cramer wrote: >> Hi, >> >> is there a way to replace (for example) position 110-117 in each line >> of a text to (for example) to "." ? >> >> I only found regular expressions handling the length of matches but >> not their position in a line. >> >> Since what I want to acchieve lastly is lot of work I dont want >> to add n '.' or do wild calculations from positions to lengths >> of strings. >> >> Directly using the positions themselves would be nice. >> >> Is that possible with vim? How? > > See > > :help /\%c > > For example: > > :%s/\%110c.*\%118c/./ > > Regards, > Gary > > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "vim_use" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vim_use+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.