Comment #5 on issue 115 by [email protected]: Vim Macro to generate
ASCII characters
http://code.google.com/p/vim/issues/detail?id=115
OK, I think after studying and thinking about the macro, I understand what
it's doing.
It starts by initializing the unnamed register. The actual q macro which
gets executed will first paste the unnamed register literally, then
increment the numeric value (previously in the unnamed register), then
replace the line content with the contents of the unnamed as if typed (via
CTRL-R). Repeating this will increment the byte value being inserted as
with CTRL-V + number.
So there are a few ways this could fail.
First, I'm not sure, whether i_CTRL-V_digit takes encoding into account or
not. You could be using a different encoding on Windows, one which does not
use the same bytes to represent the ASCII characters. What does ":set
encoding?" tell you? I cannot reproduce when mine is Latin1.
Second, you could have a mapping interfering. The most likely candidate in
my mind is a potential mapping for CTRL-V in insert mode. Does ":verbose
map! <C-V>" tell you anything?
Third, you could have another mapping or setting interfering. Do you see
the problem, when you launch Vim with:
gvim -N -u NONE -U NONE -i NONE
or
vim -N -u NONE -i NONE
Even if you have no .vimrc (or _vimrc) on Windows, there is a default
installed which you should try bypassing.
If none of these fixes the problem, you may have found a real issue, but I
have no idea what else could cause the difference between our systems now
that you've tried the same version I'm using.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.