Thanks for your tip, Ben, but setting 'winaltkeys=no' has made no difference.

There's another space-related anomaly that I suspect may shed light on my 
issue. One keymapping has stopped working. I have 'noremap <leader><space> 
:noh<cr>' in my _vimrc, but instead of suppressing search highlighting it 
pauses for a second and then moves the cursor one character to the right.

Do you think this gives us a clue?

On 13 Mar 2013, at 21:49, Ben Fritz <[email protected]> wrote:

> On Wednesday, March 13, 2013 2:30:23 PM UTC-5, Sylvia Ganush wrote:
>> This is the Autohotkey command:
>> 
>> ::excl:: !
>> 
>> The space before '!' is non-breaking, I inserted it with Ctrl-K-Space-Space 
>> in gVim.
>> 
>> It would appear that the non-breaking space outputs Alt-Space which gets 
>> translated by gVim to :simalt. Why it happens remains a mystery. Why it 
>> happens only in one specific gVim session, and not in others remains an even 
>> bigger mystery.
>> 
>> 
> 
> Ok, you said you were *pasting* a non-breaking space into Vim.
> 
> This is not a "paste" command but rather a keyboard mapping to send Vim a 
> non-breaking space and a ! whenever you press the ! key, correct?
> 
> And somehow Vim is getting "alt+space" instead of a non-breaking space?
> 
> You can try setting the 'winaltkeys' option in Vim to "no" so that Vim 
> handles all alt key sequences internally. Otherwise Windows will handle the 
> Alt+Space key combination without Vim doing anything with it.
> 
> -- 
> -- 
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to