I think the title says it all. I've done my homework and the only command that I found was:

:set linespace=3

but it doesn't seem to work, neither on the Mac nor in Linux.

Edit: In Mac OSX you can actually configure the terminal to add to (max 1.5) lines How can I change the line-height in Terminal OSX If anyone know how to increase more than 1.5, that'd be helpful



3 Answers 3


linespace is only available for the GUI version, i.e. gVim or MacVim, and not console Vim. So maybe you are trying in your terminal?

'linespace' 'lsp'       number  (default 0, 1 for Win32 GUI)
                        {not in Vi}
                        {only in the GUI}

If you want to modify the linespacing of your terminal you have to do it in your terminal settings, not in Vim. (Maybe you can do it programmatically in your .vimrc.)


you can' use linespace in terminal mode , it is for GUI only


I adjusted the space between lines for terminal (xterm) by adding the line xterm*scaleHeight: 1.1 to my .Xresources file and executing xrdb ~/.Xresources command after saving the file. As a result after relaunching the terminal, text in vim editor has increased space between lines.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .