The Vim wiki says:
Quote:
Originally Posted by https://vim.fandom.com/wiki/Change_font
Console Vim uses whatever font the console/terminal is using. Changing the font in your terminal is done differently depending on your system and the terminal in use. Consult the documentation or manpages for your terminal, or do a web search for how to change the font in your chosen terminal. Vim cannot use a different font than the rest of the terminal.
|
In which case the only workarounds I can see are:
* change the font before you start vim and change it back afterwards
* use a different terminal for vim than the one you use for everything else
It looks like xterm has command-line options for fonts, but I got a "cannot load font" error with both font name and absolute path when trying this:
Code:
xterm -fn fontname -e vim