---
title: "gVim设置字体(guifont)"
author: "jayghost"
date: "2013-07-03T11:40:24Z"
tags: []
categories: ["开源软件"]
slug: "gvim-guifont"
draft: false
lastmod: "2013-07-03T11:40:24Z"
id: 1897848
url: "https://wujay.iteye.com/blog/1897848"
---

在gVim的安装目录下，在\_vimrc中写： set guifont=courier\_new:h10 //设置字体为Courier New,大小10号  
若在linux下，应该写为，setguifont=courier\_new\\(空格)h10