VIM的“linespace”无效

3

我希望能够在VIM中增加行高(“行间距”)。

官方命令为:

set linespace=X

然而,当我把它放到我的.vimrc文件中时,这并不起作用(没有效果)。
set t_Co=256
syntax on
colorscheme wombat256

set linespace=1             " line height
set nocompatible
set showmatch
set ignorecase
set showmode
set ts=4
set sw=4
set autoindent
set cindent

如果这有所帮助的话,我使用Putty连接到我的Linux服务器。

你有什么方法可以在从Putty连接时增加VIM文本的行间距吗?


当linespace=1时应该发生什么?我尝试在Vim上将linespace设置为2,但什么也没有发生。我正在Ubuntu上本地运行。 - Robert Martin
@RobertMartin:它在文本行之间插入X个额外的像素间距。 - Cat Plus Plus
1个回答

9

linespace 只能在 GUI 中使用,不能在终端中使用。


谢谢!有没有类似于终端中“linespace”的功能? - nickb
@nickb:只有终端软件提供这样的选项才可以。据我所知,PuTTY没有这个功能。 - Cat Plus Plus

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接