Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 vim 处理中文和西文文本。西文的默认字体大小还可以,但汉字虽然可读,但对我来说太小了。我可以告诉 vim 使用 14pt 渲染 CJK 字体,同时不影响所有其他文本的字体大小吗?
感谢您的想法/解决方案!
古巴
如果您使用 gVim,请尝试使用set guifontwide不同的字体。您可以在 Windows 上尝试 MS Mincho 或 MS Gothic。
set guifontwide
请注意,除了 GTK+ 2guifontwide选项之外的所有 GUI 版本仅在encoding设置为空utf-8或guifontset无效时使用。中的更多信息:help guifontwide。
guifontwide
encoding
utf-8
guifontset
:help guifontwide