You can try:
:%s/\(.\):/\1\1/g
|
one character
before :Bu it is searching for all occurences of : character. Burak 2010/2/16 kay sam <[email protected]> > Hi All, > Help using substitute every "abcde:fgh" with "abcdeefgh" in a file. > Thanks a lot! > > -- > You received this message from the "vim_use" maillist. > For more information, visit http://www.vim.org/maillist.php -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
