Inserting a character in certain column

Alexandra Zaharia f0rg3r at gmail.com
Mon Feb 25 15:15:44 UTC 2008


On 2/25/08, Michael Ulm <michael.ulm at isis-papyrus.com> wrote:
>  or use a regexp substitution. In command mode type
>
>  :%s/^.\{3}/&XY/
>

Wow, excellent! I didn't know how to do this using regexp. Thanks for
sharing this.




More information about the ubuntu-users mailing list