2016-4-19(Tue) 0:18:45 UTC+9 Yang Luo:
Please see document.
:help v_CTRL-A
--
Best regards,
Hirohito Higashi (a.k.a. h_east)
See this thread from before for some more solutions
https://groups.google.com/forum/#!topic/vim_use/tET37NdW7LM
The one I use a lot from it (credit to OP of course) would be to do this
:let i = 13
:g/13/s//\=i/|let i+=1
> Please see document.
> :help v_CTRL-A
Oops, I was half asleep.
:help v_g_CTRL-A
2016-4-23(Sat) 20:50:40 UTC+9 Yang Luo:
> yes. I move cursor to first 13, then i hit ctrl+v in visual block mode, then move jk to selecte all 13, then hit g ctrl+a. it have no response.
> i use gvim 7.3
v_g_CTRL-A feature was implemented by Patch 7.4.754.
https://groups.google.com/d/topic/vim_dev/5u4nnnUbA70/discussion
Please use Vim 7.4.754 or later.