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

前端之家收集整理的这篇文章主要介绍了layout – 在vim中添加行之间的垂直空间前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
简介:我想在 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.

有任何想法吗?

更新:

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

> linepace会在每一行之间放置空格,但我只想在行结束后才想要空格.
>如果没有相当于行空间的其他内容,其他的还不够

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

猜你在找的Bash相关文章