3 ms·
I just have to say thank you so much for this comment! I do a lot of Japanese text editing and I've also been learning Vim recently, but I had no idea that Vim
by aikinai 15y ago
I just have to say thank you so much for this comment!
I do a lot of Japanese text editing and I've also been learning Vim recently, but I had no idea that Vim recognizes Japanese words. Many times I've thought, "It's too bad I can't (effectively) use Vim for Japanese also," but I was just assuming it wouldn't be able to parse the words without spaces.
I just tried it and my mind was blown when w moved forward in completely logical increments without plugins or anything. I still can't believe something like Vim would include a native Japanese parser, but now I think it's time to rethink my workflow...
EDIT: I just tested some more and realized there isn't actually a semantic parser, but it's just treating any grouping of one syllabary (kanji, hiragana, katakana) as a word. Except for some debatable weirdness around conjugated verbs, it actually feels fairly natural given the rhythm of the different characters used in Japanese.