在 .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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章