Friday, August 21, 2009

Re: Applying 4 commands repetetively

> I'll still with using the exec commands. Is there an Ex command for the
> normal-mode command "15x" ?? (deleting 15 characters) ??
>
> exec 'normal 15x' did do the trick for me, but I'm just curious to see if
> there's an Ex analog.

In Ex mode, I'd normally do this with a :substitute as in

:s/.\{15}/

this could be tweaked to adjust where in the line the 15 chars
get deleted.

-tim


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

No comments: