On 17/03/11 07:44, JaredPar wrote:
There seems to be a discrepancy between the documentation for language
mapping the implementation in gVim 7.2. Inside "help language-
mapping" one of the items which is listed is "when entering a search
pattern". However this doesn't seem to be true
If I type ":lmap a c" and then type "/a" it will appear as "/a".
However if i type ":cmap a c" and then type "/a" it will appear as "/
c".
It appears searching uses command mode mappings instead of language
mode. Is this correct or am I misreading the documentation?
language-mappings are only effective when keymaps are active (i.e.
'iminsert' set to 1). To toggle it, use Ctrl+^ in Insert or Command-line
mode; to toggle it in Normal mode you can use
:let &imi = ! &imi
which may, of course, be mapped to a key.
Best regards,
Tony.
--
Bankers do it with interest (penalty for early withdrawal).
--
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