vim 101 hacks
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Buyer: xiujuan lu (luxiujuan@gmail.com)<br />
Transaction ID: 85W16630AD8515549<br />
Vim <strong>101</strong> Hacks<br />
www.thegeekstuff.com<br />
Hack 66. Change Font in gVim<br />
You might not like the default font of the gVim. You can change it using one<br />
the following two methods:<br />
Method 1:<br />
This example sets the font type to Courier New and size to 10. For this<br />
method, you should already know the name of the font.<br />
:set guifont=Courier\ New:h10<br />
Method 2:<br />
The following will launch a font chooser UI, where you can select the font<br />
type and size.<br />
:set guifont=*<br />
Fig: Font chooser on Windows gVim<br />
102