Open glow12121 opened 1 year ago
This is a known limitation. Textadept's key bindings use characters emitted by keys, not the keys themselves. The only workaround that I know of is to create a map of Cyrillic keys to Latin keys in your ~/.textadept/init.lua. It's tedious and not ideal though. Sorry about that :(
Nor sure how relevant this is, but this is how the problem was addressed in Vim: https://r-notes.ru/49-knigi/spravochnik-po-vim/175-podderzhka-russkogo-yazyka-i-rusifikatsiya.html#russian-keymap
Basically:
:set langmap=ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz
Key combinations (ctrl+v, ctrl+c, etc.) do not work when the keymap is switched to one with a Cyrillic alphabet.