Tyru wrote:

> 1. :source below code
> 2. Enter insert mode
> 3. Press <C-^>
> 4. Type "bar"
> 5. Vim outputs "noremap!", not "lnoremap"
> 
> --- code ---
> " :lmap can't remap?
> "
> " Typing "bar" outputs "noremap!", not "lnoremap".
> 
> lnoremap foo <Esc>:<C-u>echomsg 'lnoremap'<CR>
> noremap! foo <Esc>:<C-u>echomsg 'noremap!'<CR>
> 
> lmap bar foo
> --- code ---

I first thought that it's the order that matters, but when putting the
lmap last it still doesn't work.  I suppose that's a bug.

> And this is another problem though,
>     set wildchar=<Tab>
>     set wildmode
> and
>     lmap <Tab>
> in command-line does not complete any mapping as :map does.

That's a missing feature.  I'll add it to the todo list.

-- 
Anyone who is capable of getting themselves made President should on no
account be allowed to do the job.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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