Skip to main content


Ah yes, the vim keys: heft jown kup, light

reshared this

in reply to ♪ Octavia con Amore ♬

@♪ Octavia con Amore ♬ @Soft Dragon :verified_dragon:✨ the reason they're like this is because they stand for the functions forward-char, backward-char, next-line, and previous-line. Within text in an RTL script like Arabic, C-f moves visually left and C-b moves visually right.
in reply to Pup Keith DX Director's Cut

@keith There has *got* to have been a more elegant solution lol (though the letters do make sense in that context)
in reply to ♪ Octavia con Amore ♬

@♪ Octavia con Amore ♬ @Soft Dragon :verified_dragon:✨ Yeah, you can also just bind them to the arrow keys (which IIRC Emacs does by default, and is what I use), but it produces behaviour like this:
GIF demonstrating Emacs' cursor movement within mixed English and Arabic text. At the boundaries between the English and Arabic text, the cursor jumps to the opposite end of the text visually, and starts moving in the opposite direction.

It shouldn't be too hard to check the writing direction of the text underneath point and reverse the arrow key mapping accordingly, but I'm not sure how you'd handle the boundaries between different writing directions.

in reply to Pup Keith DX Director's Cut

@keith Oh gods, that's a nightmare. I'm glad that, as much as Japanese is traditionally a right-to-left language, it's also common to have it left-to-right and well-adapted to being written that way digitally.
Unknown parent

♪ Octavia con Amore ♬  
@domino @keith I never thought I'd say this out loud, in public, but...the gamers have it right. WASD is the simple, elegant solution.