enter image description here enter image description here

The last pic is the info I got from Hacking Vim. How do I solve the error - the top pic is my vimrc.

  • 3
    Welcome to Vi and Vim! Please try to post actual text rather than picutres of text whenever possible... That makes it easier on users who may have trouble with the size or formatting of text in the pictures. It also makes it much easier to copy & paste script snippets whenever needed. And by posting text, it's also possible to reformat or reword parts of it to improve clarity in the question.
    – filbranden
    Commented Aug 26, 2020 at 20:41

1 Answer 1


To specify the font size you need to prefix the size with an "h", so the correct command would be :set guifont=Courier:h14.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.