Thursday, May 31, 2012

Re: insert mode mappings

Hi,

Jürgen Krämer wrote:
>
> sinbad wrote:
>>
>> can the insert mode mappings be made available
>> for the text entered during searches / and ?.
>
> use :map! and :noremap! instead of :imap and :inoremap if you want to
> use a mapping in insert and command-line mode. Note that this also makes
> the mapping available after a :.
>
>> and also for the text entered as part of input() fn ?
>
> No.

correction: mappings defined with :cmap and :map! also work while typing
the text for calls to input().

Regards,
Jürgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

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

No comments:

Post a Comment