I am using Xubuntu 16.04
In gvim, by going to Edit ---> Select font I am selecting the font size 12. But after I close gvim and open gvim again I see that the font size has gone back to 10.
How can I set the font size to 12 permanently?
I am using Xubuntu 16.04
In gvim, by going to Edit ---> Select font I am selecting the font size 12. But after I close gvim and open gvim again I see that the font size has gone back to 10.
How can I set the font size to 12 permanently?
You can set the GVim font in either your
~/.vimrc
, or in~/.gvimrc
using:However, if you use
~/.vimrc
, then you need to ensure that it is only run for GVim, and not for regular command-line Vim:See
:h 'guifont'
for more.