68500Re: Issue 115 in vim: Vim Macro to generate ASCII characters
- Feb 26, 2013Comment #10 on issue 115 by Go.Zu...@...: Vim Macro to generate ASCII
The vim version I tested and works is 7.3.842. Also I applied this patch
(from message 68488 ):
While I don't can anything contribute to this specific problem, which
seems to be related to Windows only, I noticed one specific problem.
After recording the key-sequence above, I can't seem to be able to run
that specific command again, i.e. it will always continue with the
latest ascii code and continue increasing it. I suspect, this happens,
because register " and 0 come out of sync and so recording to register "
will always use the value from register 0.
This patch fixes it:
t a/src/ops.c b/src/ops.c
@@ -1089,7 +1089,9 @@
retval = stuff_yank(regname, p);
- y_previous = old_y_previous;
+ /* allow changing the default register, if it was specified */
+ if (regname != '"')
+ y_previous = old_y_previous;
y_current = old_y_current;
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>