Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Cyrillic layout #5

Open
glow12121 opened this issue Mar 16, 2023 · 2 comments
Open

Problem with Cyrillic layout #5

glow12121 opened this issue Mar 16, 2023 · 2 comments

Comments

@glow12121
Copy link

I have two layout and to make all hotkeys work in both, I added this lines in the config:

set langmap+=ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ " Cyrillic layout in normal mode
set langmap+=фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz " Cyrillic layout in normal mode
set langmap+=ЖжЭэХхЪъ;\:\;\"\'{[}]                                 " Cyrillic layout in normal mode

With the Long-lines plugin on, however, there's a problem: J and K work fine with the Latin layour but they work weird with the Cyrillic one. The cursor is placed either somewhere in the middle of lines or at their ends.

H and L seem to work fine in both layouts.

All other hotkeys in Neovim seem to work fine in both layouts.

@manu-mannattil
Copy link
Owner

I've only tested the plugin using the Latin layout. However, could you try disabling the plugin and using gj and gk instead of j and k? If gj and gk are also giving you trouble, then it's a problem that cannot be fixed within the plugin.

@glow12121
Copy link
Author

@manu-mannattil Thanks for the reply. It seems that, yes, with the plugin off gj and gk malfunction with the Cyrillic layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants