Home  >  Q&A  >  body text

macos - How to center macvim normally?

I recently used a MacBook, but found a small error in the installed MacVim.

That is, I set linespace but the effect I got was the distance from the top.

like this.

And what I want is this.

MacVim is installed through homebrew, the latest version:

I had no problem installing it on Ubuntu before. It was gvim, gtk, version 7.4.

On my personal guess, I think there may be some problem with the graphics library of vim upgrade.

I would like to ask all experienced drivers how to solve this problem? Thanks.

Configuration here: .vimrc

高洛峰高洛峰2712 days ago622

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-05-16 16:37:03

    :set linespace=0

    try this?

    reply
    0
  • Cancelreply