avim
avim copied to clipboard
Map w to ư
A reviewer on Mozilla Add-ons requests that AVIM map w
to ư, like some desktop IMEs do. That’s tricky because AVIM sits atop whatever keyboard layout is active (QUERTY, AZERTY, etc.). I wonder if the real solution to this issue and #59 is to provide a TCVN keyboard simulation like Google Input Tools does.
What does this have to do with layout? I suppose avim receives key press events as unicode characters, am I wrong?
[ and ] aren’t next to each other on every keyboard layout. I just wasn’t sure if it matters.
This issue's name is "Map w to ư". I think you are mistaking it with #59.
Oops, you’re right. I guess the problem I meant to articulate is that there’s no good way to indicate that a particular word is going to be Vietnamese or non-Vietnamese. (IMEs that use input buffers can interpret an errant Ctrl keypress as a request to temporarily disable the input method, but AVIM doesn’t remember keypresses.) If you mean “w” but AVIM immediately turns it into “ư”, the convention would be to double the letter, i.e. ww
. But the desktop IMEs I’m familiar with don’t simply map “w” to “u”; rather, w
→ “ư” and ww
→ “ươ”. In that case, you’d either have to escape an intentional “w” as \w
or have www
→ “w”, which would be confusing.
I’d like to keep the off-by-default options to a minimum, but it seems pretty clear to me that we’d want to retain w
as “w” by default.