Files
neovim/runtime/doc
Vahur Sinijärv db0fca2443 fix(mappings): 'langmap' with multibyte chars #40148
Problem:
On some non-US keyboards, like Estonian/Swedish/etc, widely used []
characters in vim are hard to type. One way to overcome this is to use langmap
option to map accented characters, that are in the same place as [] on US
keyboards to []. Unfortunately this does not work currently in neovim, it
cannot map multibyte characters via langmap.

Solution:
The fix iterates over characters in typeahead and key buffers, instead of bytes,
in getchar.c handle_mapping(). It does not handle macros though, these tests are
still failing when turned on.

Closes #2420
Closes #27776

Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2026-06-15 06:49:41 -04:00
..
2026-06-11 13:35:19 +02:00
2026-02-12 13:46:45 +01:00
2024-05-15 23:19:26 +02:00
2026-04-29 17:37:47 -04:00
2026-05-14 13:13:30 -04:00
2026-05-07 10:36:55 +02:00
2025-12-06 20:33:02 -05:00
2023-06-25 17:14:28 +02:00
2026-04-29 17:37:47 -04:00
2026-04-18 15:38:59 -04:00
2026-01-27 17:14:57 -05:00
2026-06-11 13:35:19 +02:00
2026-06-03 12:27:30 +02:00
2026-03-29 20:53:24 -04:00
2025-12-15 13:55:15 -05:00
2026-03-16 10:29:58 +01:00
2026-04-16 10:48:11 -04:00
2025-09-28 20:57:59 -07:00
2026-05-07 10:36:55 +02:00
2026-05-07 10:36:48 +02:00
2026-05-14 13:13:30 -04:00
2025-12-15 13:55:15 -05:00
2026-03-22 01:57:28 +01:00
2026-04-22 18:25:07 -04:00
2026-05-17 10:02:12 -04:00
2026-06-11 13:35:19 +02:00
2026-03-24 00:14:55 +01:00
2026-05-07 10:36:48 +02:00
2026-05-07 10:36:48 +02:00
2026-06-11 13:35:19 +02:00