Reading words without dividing is uncomfortable.
word文字word
Add word-boundary spaces to rescue.
word 文字 word
Space is widely used as a word divider, while in Chinese/Japanese writing, there are no separation inter words.
When mixing two systems, for example word文字word, many people believe some
spacing should appear between word and 文字 for readability, lead it seems
like word 文字 word.
We haven't developed a good solution to add space yet, but have to add whitespace by hand. This plugin just comes to make it easier.
- A
wordword#break()function to convert string with spaces added. - User operator (require vim-operator-user plugin by @kana).
- Add spaces between words and punctuations,
e.g.:
foo,bartofoo, bar. - Automatically add spaces when typing.
Most features were disabled by default, please read doc to configure yourself.
- 為什麼你們就是不能加個空格呢?
- 關於「中英文間是否需要一格空白」的討論 • MozTW 討論區
- CSS4 text spacing (unofficial proposal draft)
- 中文文案排版指北
- hotoo/pangu.vim
- 讓你的 emacs 自動在英文與中文之間加入空白 - coldnew's blog
Release to public domain.