[kwlug-disc] Vim with unicode ...
Ronald Barnes
ron at ronaldbarnes.ca
Sat Nov 30 21:01:55 EST 2024
Khalid Baheyeldin wrote on 2024-11-30 16:33:
> Then press Ctrl L, and you will see that vim is no
> at the correct character visually.
What does CTRL+L do? I'm not seeing anything and couldn't find it on a
Vim cheat sheet.
What I did see was kind of interesting:
I took your string from pastebin:
> abcdefg "°C" 1234567890
and at the bottom, where the cursor position is indicated, I get 1,10 at
the ° symbol, but afterwards it gets screwy:
1,12-11
1,13-12
...
Removing the ° symbol makes the column info display as expected (no
backwards range).
Also, when changing from INSERT to VISUAL modes, the cursor moves
backwards one character.
Seems like a vim bug to me, but I don't use it so am likely using it wrong.
$ echo $TERM; echo $LANG ; echo °
xterm-256color
en_CA.UTF-8
°
More information about the kwlug-disc
mailing list