Font size matters!
cd ~
vim .vimrc
then
add the line below:
set guifont=Monaco:h18 |
That's it.
[ Last updated: July 19, 2008 @ 03:23 PM ]
2 Responses to...
“Setting font size for Vim”
Sorry, comments are closed for this article.




If you need to show your editor to window to coworkers or frequently present code over a projector, a quick way to switch font sizes can be helpful.
You might add a variant of the following mappings to your vimrc:
map <leader>sf :set guifont=Lucida\ Console:h7<cr> map <leader>bf :set guifont=Lucida\ Console:h18<cr>
If you have the default Leader of slash, \sf (mnemonic: small font) will shrink your text and \bf (mnemonic: big font) will embiggen your text.
Posted: July 23rd, 2008 at 01:14 PM
cool. thanks for the addition.
Posted: July 24th, 2008 at 08:55 AM