> I have never invoke functions in the ``<esc>:s/'' before.

If I understand you correctly, \zs might be even easier in this context:

     :%s/d\.%\zs/0/g

See `:h \zs`.

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

Raspunde prin e-mail lui