MacVim: how do I set a left gutter (margin) for my buffers?

落花浮王杯 提交于 2019-12-04 01:53:39

I use line numbering for that reason (:set number). But if you want a margin without the numbers, use:

:set foldcolumn=<width>

Example:

:set foldcolumn=3

There's also a MacVim-specific option, MMTextInsetLeft, which can be set with defaults write org.vim.MacVim MMTextInsetLeft VALUE in a terminal (where VALUE is the number of pixels in the left margin. There are also settings for right, top, and bottom margin, see help macvim-user-defaults for details.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!