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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Wednesday, March 13, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment