> It works as expected with my vim-7.3.102 and vim-7.3.135. What is your vim
> version?
hmm, my vim is 7.3.132.
and of course I'm checking with "vim -u NONE -i NONE -N".

ah I found that there was a trailing whitespace after <C-j>, like
"nunmap <C-j> ".
"nunmap <C-j>" works correctly.
ok, I understand.
"nunmap <C-j> " seems the same as "nunmap <C-j><Space>".
this is my fault. sorry.

On Sun, Feb 27, 2011 at 6:56 AM, ZyX <[email protected]> wrote:
> Reply to message «can't unmap certain mappings»,
> sent 23:49:45 27 February 2011, Sunday
> by tyru:
>
> It works as expected with my vim-7.3.102 and vim-7.3.135. What is your vim
> version?
>
> Original message:
>> :nmap <C-j> foo
>> :nmap <C-j>
>>
>> n <NL>   foo
>>
>> :nunmap <C-j>
>>
>> E31: No such mapping
>>
>> :nunmap <NL>
>>
>> " it succeeds to unmap for <NL>
>>
>> I had expected that :nunmap converts <C-j> to <NL>.
>> why :nunmap does not do that? or is this a bug?
>

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

Raspunde prin e-mail lui