Saturday, March 2, 2013

Re: gvim on windows does not accept Alt modifier key

Hi, spinor.

2013/3/2 spinor <super_cow_power2109@yahoo.co.jp>:
> mapping itself seems working:
> noremap <M-N> :echo "M-n works!"<CR>
> map <C-N> <M-N>
>
> this yields :map
> <C-N> <M-N>
> <M-N> * :echo "M-n works!"<CR>
> and Ctrl-N prints "M-n works!", while Alt-N is taken regarded as N
> resulting in searching functionality
Try this.
:noremap <M-n> :echo "FOO"<CR>
:noremap <M-N> :echo "BAR"<CR>
and check result of Alt-n and Alt-Shift-n.
<M-n> (Alt-n) and <M-N> (Alt-Shift-n) are different.
But <C-n> and <C-N> are same mapping.

I do not know whether this is a correct behavior.
But it is very confusion...


--
/********************************************************
* 天井冴太 (AmaiSaeta)
* mailto:amaisaeta@gmail.com
*
* My blogs...
* 天井冴太的つれづれblog [天井の染み]
* http://amaisaeta.seesaa.net/
* AMAgrammar <> Programmer
* http://agpg.seesaa.net/
*
* Google+
* https://plus.google.com/110360324196605830601
* FriendFeed
* http://friendfeed.com/amaisaeta
*******************************************************/

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