代码改变世界

(转)vim设置字体

2010-05-13 12:49  shuisheng  阅读(3457)  评论(0编辑  收藏  举报

在Linux下设置字体的命令是:
:set guifont=Courier\ 14
而在Windows下则是:
:set guifont=Courier:14
当然,如果需要设置多个字体,则我们可以在各个字体之间添加逗号(,)来设置多个字体,如:
:set guifont=Courier\ New\ 12, Arial\ 10

如果不知道是那种字体到的话 可以通过:set guifont 来查看它是哪一种!

转自:http://hi.baidu.com/575754703/blog/item/97cc91c2e0b8f439e4dd3be7.html


类别:linux & unix 查看评论