Friday, November 4, 2016

Re: after vim 8 installation, yanking (yy) doesn't work in global command and macros

Can someone tell me why this macro (:g/-/normal @q) doesn't work now on version 8, when it worked on 7.4? I'm guessing it's related to the yanking thing. Even when I replace the @+ to @0 it still doesn't work.

€kh/-^M€klviw^C:let y1=@+^Mn€krviw^C:let y2=@+^M:let y3=y2-y1^M:let @a=y3^M:let @b=line(".")^M€kh/-^M€*7€kbmayy:normal ^Rap^M:normal ^Raj^M€kumb:'a,'bs/:\zs\d\+/\=y1+line(".")-^Rb/^M

--
--
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