Friday, March 15, 2013

Re: gVim: Non-breaking space strangely triggers :simalt~

On Friday, March 15, 2013 11:51:08 AM UTC-5, Sylvia Ganush wrote:
> 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?
>
>

Please bottom post.

I doubt these two issues are related.

Your new issue is probably one of these:

1. something has undefined your mapping
2. you have a space character in your _vimrc file at the end of the line after your mapping definition

In insert mode there is a 3rd option, but in your case this is a normal mode mapping so it doesn't apply:
3. you have 'paste' set so mappings don't apply

For your original issue, what mode are you in when you try to use this autohotkey script? Why do you expect it to "paste" something? Can you still get this issue to occur? You said it only affects one instance of Vim and the rest are fine.

I don't know anything at all about autohotkey so I can't debug that side. But Vim shouldn't show the menu unless it actually gets an alt keypress, and then it shouldn't show the menu at all if 'winaltkeys' is set to "no".

--
--
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.

No comments: