VIM“行间距”不工作

发布于 2024-12-16 20:53:45 字数 446 浏览 4 评论 0原文

我想增加 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 中文本的行距吗?

I want to increase the line-height ("linespace") in VIM.

The official command is:

set linespace=X

However, this does not work (no effect) when I put it into my .vimrc file

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

In case it makes a difference, I'm using Putty to connect to my Linux server.

Any idea how I can increase the line spacing of text in VIM when connected in from Putty?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

俯瞰星空 2024-12-23 20:53:46

linespace 仅适用于 GUI。您不能在终端中使用它。

linespace works only in GUI. You can't use it in the terminal.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文