加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

:用完整色彩方法在vim中硬拷贝文件

发布时间:2020-12-16 01:52:22 所属栏目:安全 来源:网络整理
导读:我想用全彩色打印我在MacVIM中编辑的一些文件,包括深色背景. 当然我不会将它发送到打印机,我只想将其保存为PDF格式. :hardcopy删除背景并应用丑陋的方案. 可能吗? 解决方法 引自:帮助:硬拷贝 The current highlighting colors are used in the printout,
我想用全彩色打印我在MacVIM中编辑的一些文件,包括深色背景.

当然我不会将它发送到打印机,我只想将其保存为PDF格式.

:hardcopy删除背景并应用丑陋的方案.

可能吗?

解决方法

引自:帮助:硬拷贝

The current highlighting colors are used in the printout,with the following
considerations:

1) The normal background is always rendered as white (i.e. blank paper).

2) White text or the default foreground is rendered as black,so that it shows up!

3) If ‘background’ is “dark”,then the colours are darkened to compensate for
the fact that otherwise they would be too bright to show up clearly on
white paper.

所以看起来答案是,不,你不能来:硬拷贝.

它还给出了这个说明:

Note: If you have problems printing with :hardcopy,an alternative is to use
:TOhtml and print the resulting html file from a browser.

如果这是一个选项,那将是最简单的方法.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读