在vim中的行之间添加垂直空间

Pau*_*gar 8 vim layout

简介:我想在vim中查看我的文本,在某些行之间有一些额外的垂直空间.

我正在用vim编写乳胶,并将每个句子放在一个新行上.我想在句子之间添加一些垂直空间(几个像素)以使它们更清晰.我不想向缓冲区添加任何内容,只是为了查看它.

我不想添加一个完整的换行符,因为它在latex中有意义.

示例文字:

Conventional wisdom states that a compiled program should run an
order-of-magnitude faster than an interpreted program.
In our experience, however, dynamic scripting languages do not follow this rule
of thumb.
Instead, a program written in a scripting language spends most of its run-time
handling dynamic features, such as dynamic types and \code{zval}s.
This limits the potential improvement of simply removing the interpreter loop.
This is particularly important for a compiler like \phc{} which re-uses the PHP
system, as many of the code paths executed will be the same, whether the program
is interpreted or compiled.
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

更新:

也许有破坏,换行,showbreak和线条空间的东西,但我不认为这就足够了.

  • 行空间会在每一行之间放置空格,但我只想在行结束后才想要空格 .
  • 如果没有一些等同于线性空间,其他的还不够

Rob*_*lls 13

如果您正在使用gvim,那么您不能执行此命令吗?

:set linespace=5
Run Code Online (Sandbox Code Playgroud)

  • @Paul,对不起伙伴,我认为那个设置被锁定在全球空间. (2认同)