在 2016年4月18日星期一 UTC+8下午11:39:43,lessthanideal写道:
> On Monday, 18 April 2016 16:18:45 UTC+1, Yang Luo wrote:
> > call append(curr_line+13, call append(curr_line+14,
> > call append(curr_line+13, call append(curr_line+15,
> > call append(curr_line+13, call append(curr_line+16,
> > call append(curr_line+13, call append(curr_line+17,
> > call append(curr_line+13, call append(curr_line+18,
> > call append(curr_line+13, call append(curr_line+19,
> > call append(curr_line+13, call append(curr_line+20,
> > call append(curr_line+13, call append(curr_line+21,
> > call append(curr_line+13, ==> call append(curr_line+22,
> > call append(curr_line+13, call append(curr_line+23,
> > call append(curr_line+13, call append(curr_line+24,
> > call append(curr_line+13, call append(curr_line+25,
> > call append(curr_line+13, call append(curr_line+26,
> > call append(curr_line+13, call append(curr_line+27,
> > call append(curr_line+13, call append(curr_line+28,
> > call append(curr_line+13, call append(curr_line+29,
> > call append(curr_line+13, call append(curr_line+30,
> > call append(curr_line+13, call append(curr_line+31,
> > call append(curr_line+13, call append(curr_line+32,
>
> 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
so, if I map this command to a short key, it will have a variable(13) in my command, how should I do?
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment