You are not logged in.
I'm using urxvt with a Chinese-friendly font, because, well, I need decent Chinese fonts in my terminal
However, I would like to use DejaVu Sans Mono in vim, and I have the following line in my .vimrc:
set gfn=DejaVu\ Sans\ Mono\ 12
This works in gvim absolutely fine, but vim still uses the terminal font, even though when I make an inquiry with :set gfn? it claims to be using DejaVu. Changing to another font, like Inconsolata, doesn't make any visible difference, but again vim registers the change and claims to be using the new font, when it actually isn't.
Is urxvt overwriting vim's settings? How can I fix this?
Thanks.
Offline
The gfn option only changes the font for gvim, it is ignored for vim in a terminal. AFAIK it is not possible for vim to use a different font than the terminal it runs in.
My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP
Offline
Change it in your terminal preferences. It does change in xterm.
Offline