简体   繁体   English

如何更改vimrc控制台字体

[英]How can I change the vimrc console font

I connect to my linux box via putty. 我通过腻子连接到我的Linux机器。 I've been able to modify the color scheme via my vimrc file, but how can I change the console font? 我已经可以通过vimrc文件修改配色方案,但是如何更改控制台字体? I see an option for guifont but I am not using a GUI... 我看到guifont的选项,但是我没有使用GUI。

You can't change the console font from vim. 您不能从vim更改控制台字体。 You can change the font in Putty. 您可以在Putty中更改字体。

Based on Vim documentation 根据Vim 文档

Console Vim uses whatever font the console/terminal is using. Console Vim使用控制台/终端使用的任何字体。 Changing the font in your terminal is done differently depending on your system and the terminal in use. 根据系统和所使用的终端,在终端中更改字体的方式有所不同。

So if you want to change vim console font you need to change your terminal font. 因此,如果要更改vim控制台字体,则需要更改终端字体。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM