在 .vimrc 文件中设置 gvim 字体 - set gvim font in .vimrc file

问题:

I am using gVim 7.2 on Windows 7. I can set the gui font as Consolas 10 (font size) from the menu.我在 Windows 7 上使用 gVim 7.2。我可以从菜单中将 gui 字体设置为 Consolas 10(字体大小)。 I am trying to set this in .vimrc file like below:我试图在.vimrc文件中设置它,如下所示:

set guifont=Consolas\ 10

But it doesn't work.但它不起作用。 Does anyone know how to set this?有谁知道这个怎么设置?


解决方案:

参考一: https://en.stackoom.com/question/Duho
参考二: https://stackoom.com/question/Duho
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章