Closed Vavooon closed 11 years ago
Looks like only first Z mapped correctly. Try this:
map
Anyway, that's strange, because other multi-char combinations (like "dd" to del line) works ok.
Thanks, this command works well. Shouldn`t you add it to plugin?
That depends. I've asked about this in vim-dev maillist. If it's a bug I'd prefer to wait until it will be fixed in Vim. If it's a feature - I'd like to find list of all such commands like ZZ and ZQ and add mapping for them all at once.
Ok, thank you. Do you know anything about native foreign layouts support in vim? Does there is any progress in this way?
If by "support" you mean "vim should know about this issue" - it's already know: there are ':langmap' (I've used it before for koi8-r translation, but after converting my system to utf-8 it breaks and I've to replace it with bundle of ':map'). If you mean "vim should have predefined langmaps for all languages" - I don't know is such feature exist in vim's todo.
Thank you again.
Looks like this is bug in Vim:
After first Z it uses plain_vgetc to get next character (which is a special-case because all user mappings use different method). plain_vgetc does not do any remapping.
But I don't think it will be fixed.
This issue affect huge amount of commands in different modes (not just in Normal). And I'm not sure is it good idea to add hundreds additional mappings to fix it…
fixed in 1.4
Nothing to append :)