Reputation: 111
I use VIM to take notes in Czech at university lectures. All special characters work fine except for the 'ý' character.
When I type it in INSERT mode, it isn't printed. Instead, it shifts the cursor to the left, which is very annoying.
The character is represented correctly when typed in the vim command line. So I suppose the character is misinterpreted as an INSERT mode movement command? Is this a bug?
Please temporarily install the Czech QWERTZ keyboard layout (careful, there is a programmer version of the layout, we need the regular one).
Typing the 'ý' character can be accomplished using either of these steps:
The top number row is reserved for the most common special characters, press 7 without SHIFT to print it.
Special characters can also be typed by first pressing and then letting go the '=' key (next to BACKSPACE) and then pressing the character you want to decorate with an accent.
Issue replication times: always
Running vim without vimrc solves the issue. Link to my vimrc
Any suggestion and/or workaround will be very helpful. Thanks in advance!
Upvotes: 1
Views: 160
Reputation: 31
I know this is an older issue, but to anyone else struggling with this, it is an issue within the auto-pairs plugin, that has since gone silent and unmaintained. There's an issue for it.
If you don't want to scroll through the discussion, there's a fork of the plugin at https://github.com/lunarWatcher/auto-pairs which has the issue fixed. Since the original plugin is unmaintained, there's little hope of the fix being merged back, but I managed to switch to the fork with no apparent issues.
Upvotes: 3
Reputation: 7637
The abbreviation:
iabbrev 'y ý
could be used to display the ý
character in insert mode. Typing 'y
should result in ý
.
Upvotes: 0