Word boundaries depend on the value of the iskeyword
option. The default value on UNIX-y systems is @,48-57,_,192-255
which includes ß
(#223 IIRC). Make sure you run Vim in "no compatible" mode to have the correct default value. Having a ~/.vimrc
, even an empty one, should be enough.
Words containing ß in Vim
-
31-05-2022 - |
Domanda
I am using gvim 7.3 on Windows to edit a German document; enc
is utf8
. There are words containing an "SZ", say großer
. When my cursor is on g
, and I press w
, I expect the cursor to jump to the next word. Unfortunately vim seems to consider ß
to be the border of the word and jumps to it. Anyway to tell vim it should consider ß
a normal letter?
ä
,ö
,ü
are not a problem, they are recognized correctly.
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow