On 19 févr. 2015, at 23:55, Alexey <[email protected]> wrote:
> i wonder if the following is a bug or a feature.
>
> If execute the commands
>
> :imap 2 3
> :inoremap 13 42
>
> and type "12" in Insert mode, i get "13", but i would naïvely expect to get
> "42".
I've already understood that this is the expected behavior, but i would like to
explain anyway why i thought that the other way could be useful.
If such "premapping" worked ("12" -> "13" -> "42"), then apparently there would
be not need for 'langmap' or <leader>/'mapleader'. Other similar
customizations could be done using just plain "map", etc.
Alexey.
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.