After I installed the Vim 8 version, I noticed that the following command doesn't yank the current line for every line it's supposed to run on.
%g/^/normal yyp
When I run it, it pastes whatever was previously copied. When I run "normal yyp", this works fine, it just doesn't seem to work in global commands and in macros. Here is my example:
Example:
-----------
string currently stored in clipboard: 7777
command given: %g/^/normal yyp
original text:
1234
5678
new text (actual output):
1234
7777
5678
7777
new text (expected output):
1234
1234
5678
5678
This seems like a real bug as I never experienced this in earlier versions.
Bryce
--
--
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