微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐