1. start vim
2. :set keymap=russian-jcukenwin (you can use other)
3. :imap <buffer> [ ()
4. :set iminsert=1
Now inserting "[" will map to "()" (the imap for [) instead of "х" (the lmap for [). If I switch steps 1 and 2 or use global imap, everything works fine.
Is that the expected behaviour?
Cheers,
Israel
--
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
To unsubscribe, reply using "remove me" as the subject.
No comments:
Post a Comment