2009-08-17 89 views
8

摘要:我想在vim中查看我的文本,在之间有一些额外的垂直空间。在vim中添加行间垂直空间

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

我不想添加整个换行符,因为这有乳胶的意义。

示例文本:

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. 

任何想法?

更新:

或许真的有breakat,断行,showbreak和linespace,但我不认为这是不够的。

  • linespace将会把空间的每个线之间,但只有在线路中.
  • 其他人结束我想的空间都不够没有一些相当于linespace
+0

为什么不够?请解释一下你错过了什么,因为'linespace'看起来就像你要找的东西。 – spatz 2009-08-17 13:39:22

+0

@spatz:固定,我希望。 – 2009-08-17 14:15:35

回答

13

如果你使用gvim,你不能做这个命令吗?

:set linespace=5 
+0

是的。看起来不错。将它只局限于带有'.'的行将是非常好的。 – 2009-08-17 13:38:24

+2

@保罗,对不起,队友,我认为这个设置锁定在全球空间。 – 2009-08-17 14:29:02