保存vimdiff输出? [英] Save vimdiff output?

查看:440
本文介绍了保存vimdiff输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我过去在Google上搜索过多次,但从未找到答案.有没有办法保存vimdiff的输出(最好同时保留颜色,高光等)?我想将此输出文件发送给其他人,并告诉他们只需打开此文件,以下是并排并突出显示的区别".

I google'd this multiple times in the past but I've never found an answer. Is there a way to save vimdiff's output (preferably while maintaining colors, highlights, etc.)? I'd like to send this one output file to other people and tell them "just open this file, here are the differences, side by side and highlighted".

如果为此目的有更好的替代vimdiff的方法,我欢迎提出建议-在Windows和Linux平台上都可以使用的方法是理想的选择.

If there are better alternatives to vimdiff for this purpose, I'm open to suggestions - something that would work on both Windows and Linux platforms is ideal.

推荐答案

Vim可以导出为HTML,请参见:

Vim can export to HTML, see:

:help :TOhtml

这篇关于保存vimdiff输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆