Vim and line height

I've switched to using MacVim lately as my editor, partly because I work on servers a fair amount in my job, and partly because well... lots of other people who are better programmers than me are generally singing it's praises, and the mix of Mac like UI polish, and power offered by Vim is an appealing combo for me.

One little thing tweak I'd recommend though if you're coming from Textmate, is to increase the default line-height when reading text. By default, I've found the to be squished together too tightly for my liking, making it less readable than I'm used to.

Fixable with two words (and one number)

Thankfully it's quite easy to fix: I found this thread on the Mac Vim mailing list which had a few tips on using the set linespace command in Vim. Just type in:


 set linespace=2

...and once again, staring at text should become relatively easy on the eye again.

And of course, with this being , the next step is to put this setting into your dotfiles, and whichever computer you end up using, you'll only ever be a git clone away from having your settings just like how you're used to. Huzzah!



Copyright © 2020 Chris Adams
Powered by Cryogen
Theme by KingMob