uganda.txt 适用于 Vim 9.2 版本。 最近更新: 2026年7月
VIM 参考手册 by Bram Moolenaar译者: Dasn
ugandaUgandacopyingcopyrightlicense
简 介
Kuwasha
Vim 是慈善软件,可随意使用和复制,但鼓励进行捐助,向乌干达的贫困儿童进行捐赠。
请参见下述 kcc ,或访问 Kuwasha 官方主页,获取更多地信息:
https://www.kuwasha.net
也可资助 Vim 的开发。参见 sponsor 。资金最终同样用于乌干达相关项目。
iccfICCFICCF Holland 和 KuwashaBram Moolenaar 的慈善机构 ICCF Holland 长期通过基巴莱儿童中心支持乌干达儿童
的教育事业。随着 Bram 于 2023 年逝世,ICCF Holland 已将所有活动移交给位于加拿
大的姊妹慈善机构 Kuwasha,并于 2025 年底解散。
Vim 用户仍然可以捐款,这些款项将直接用于支持乌干达儿童。为了继续支持这项事业,
请向 Kuwasha 慷慨捐赠。
许可协议
Vim 文档采用开放出版许可证 (Open Publication License),见 manual-copyright 。
Win32 GUI 工具栏所用图标来自 "Farm-Fresh Web Icons" 图标集。图标基于知识共享署
名 3.0 许可证 (Creative Commons Attribution 3.0),由 FatCow Web Hosting 制作。
原链接 fatcow.com/free-icons 已失效,现仍可访问以下链接获取
https://www.iconarchive.com/show/farm-fresh-icons-by-fatcow.1.html。
=== begin of license ===
VIM LICENSE
I) There are no restrictions on distributing unmodified copies of Vim except
that they must include this license text. You can also distribute
unmodified parts of Vim, likewise unrestricted except that they must
include this license text. You are also allowed to include executables
that you made from the unmodified Vim sources, plus your own usage
examples and Vim scripts.
II) It is allowed to distribute a modified (or extended) version of Vim,
including executables and/or source code, when the following four
conditions are met:
1) This license text must be included unmodified.
2) The modified Vim must be distributed in one of the following five ways:
a) If you make changes to Vim yourself, you must clearly describe in
the distribution how to contact you. When the maintainer asks you
(in any way) for a copy of the modified Vim you distributed, you
must make your changes, including source code, available to the
maintainer without fee. The maintainer reserves the right to
include your changes in the official version of Vim. What the
maintainer will do with your changes and under what license they
will be distributed is negotiable. If there has been no negotiation
then this license, or a later version, also applies to your changes.
The current maintainers are listed here:
https://github.com/orgs/vim/people
If this changes it will be announced in appropriate places (most
likely vim.sf.net, www.vim.org and/or comp.editors). When it is
completely impossible to contact the maintainer, the obligation to
send him your changes ceases. Once the maintainer has confirmed
that he has received your changes they will not have to be sent
again.
b) If you have received a modified Vim that was distributed as
mentioned under a) you are allowed to further distribute it
unmodified, as mentioned at I). If you make additional changes the
text under a) applies to those changes.
c) Provide all the changes, including source code, with every copy of
the modified Vim you distribute. This may be done in the form of a
context diff. You can choose what license to use for new code you
add. The changes and their license must not restrict others from
making their own changes to the official version of Vim.
d) When you have a modified Vim which includes changes as mentioned
under c), you can distribute it without the source code for the
changes if the following three conditions are met:
- The license that applies to the changes permits you to distribute
the changes to the Vim maintainer without fee or restriction, and
permits the Vim maintainer to include the changes in the official
version of Vim without fee or restriction.
- You keep the changes for at least three years after last
distributing the corresponding modified Vim. When the maintainer
or someone who you distributed the modified Vim to asks you (in
any way) for the changes within this period, you must make them
available to him.
- You clearly describe in the distribution how to contact you. This
contact information must remain valid for at least three years
after last distributing the corresponding modified Vim, or as long
as possible.
e) When the GNU General Public License (GPL) applies to the changes,
you can distribute the modified Vim under the GNU GPL version 2 or
any later version.
3) A message must be added, at least in the output of the ":version"
command and in the intro screen, such that the user of the modified Vim
is able to see that it was modified. When distributing as mentioned
under 2)e) adding the message is only required for as far as this does
not conflict with the license used for the changes.
4) The contact information as required under 2)a) and 2)d) must not be
removed or changed, except that the person himself can make
corrections.
III) If you distribute a modified version of Vim, you are encouraged to use
the Vim license for your changes and make them available to the
maintainer, including the source code. The preferred way to do this is
by e-mail or by uploading the files to a server and e-mailing the URL.
If the number of changes is small (e.g., a modified Makefile) e-mailing a
context diff will do. The e-mail address to be used is
<maintainer@vim.org>
IV) It is not allowed to remove this license from the distribution of the Vim
sources, parts of it or from a modified version. You may use this
license for previous Vim releases instead of the license that they came
with, at your option.
=== end of license ===
(译者注: 以下翻译文本仅供参考。我们不承担任何错漏之处引起的法律责任。VIM 许可
证必须以英文形式完整出现。如有疑义,一律以英文原文为准。)
=== 许可证开始 ===
VIM 许可证
I) 分发未经修改的 Vim 的副本无额外限制,但必须附带本许可文本。也可分发 Vim 的
未修改片段,规则同上,仅要求附带本许可文本。同时允许附带由未修改 Vim 源码
编译得到的可执行文件,以及自行编写的使用示例与 Vim 脚本。
II) 在同时满足以下四项条件的前提下,允许分发修改 (或扩展) 版 Vim,包括可执行文
件 和/或 源码:
1) 本许可文本必须原样保留,不得修改。
2) 修改版 Vim 必须采用下述五种分发方式之一:
a) 如果自行修改 Vim,必须在分发包里写明修改者本人的联系方式。当 Vim 维护
者 (以任意方式) 索取分发的 Vim 修改版时,必须无偿向维护者提供修改内容
(包含源码)。维护者有权将这些改动并入 Vim 正式版本。维护者对代码的处置
方式与采用的许可证可以协商。未有协商时,则本许可证及其后续版本同样适
用于修改代码。
Vim 当前维护者可参见:
https://github.com/orgs/vim/people
如果维护者发生变更,会在相关渠道公告 (通常为 vim.sf.net、www.vim.org
和/或 comp.editors),如果完全无法联系到维护者,则向其提供修改代码的义
务自动终止。维护者一旦确认收到修改内容,无需重复提交。
b) 获取按 a) 条款分发的修改版 Vim 后,允许按 I) 条款按原样继续分发。如果
在此基础上继续修改,则新增改动适用 a) 条款。
c) 分发修改版 Vim 的每一份副本时,必须一并提供包含源码的全部改动。可使用
上下文风格差异补丁形式 (context diff)。可为新增代码自选许可证,但改动
及其许可不得限制他人继续修改 Vim 正式版本。
d) 同时满足以下三项条件的前提下,可选择分发包含 c) 条款的修改版 Vim,而
不分发改动的源码:
- 改动所采用的许可证,允许这些改动被无偿且无限制地提交给 Vim 维护者,
并允许维护者无偿且无限制地将改动并入 Vim 正式版本。
- 从最后一次分发该修改版 Vim 之日起,至少需要保留改动源码三年。在
此期间,维护者或分发对象 (以任意方式) 索要改动时,必须配合提供。
- 分发包内必须写明分发者的联系方式,该联系方式应在最后一次分发相应修
改版 Vim 后至少保持三年有效,或尽可能长期有效。
e) 改动适用 GPL (GNU General Public License,GNU 通用公共许可证) 时,可
基于 GPL 第 2 版或更高版本分发修改版 Vim。
3) 必须添加提示信息,至少应在 ":version" 命令输出与启动欢迎页中展示,使修
改版用户知晓该版本经过修改。采用 2)e) 条款分发时,仅当与改动适用许可协
议不发生冲突的前提下,才需要添加此提示信息。
4) 2)a) 和 2)d) 条款要求的联系信息不能随便删除或篡改,但联系人本人可自行更
正。
III) 分发修改版 Vim 时,建议对改动采用 Vim 许可证,并将包含源码的全部改动提交
给维护者。推荐方式是通过邮件发送,或将文件上传至服务器后通过邮件发送链
接。对于小幅变动 (如修正单个 Makefile),发送上下文风格差异补丁即可。提交
邮箱为 <maintainer@vim.org>。
IV) 不允许从 Vim 源码、源码片段或修改版的分发包中删除本许可证。发布旧版 Vim
时,可自行选择保留原有旧许可证,还是改用本许可证。
=== 许可证结束 ===
备注:
- 如果从 Vim 中找到了乐趣,请阅读本文档其余内容,并考虑援助乌干达贫困儿童。
- 要支持 Vim 的后续开发,请考虑成为一名资助者 sponsor 。资金同样会用于乌干达
相关公益项目。
- 据 Richard Stallman 所述,Vim 许可证与 GNU GPL 兼容。在他完成核验之后,许可
证文本做过少量细微改动,但不应影响兼容性。
- 如果将 Vim 与采用 GPL 许可的库进行链接,即使未实际修改 Vim,则 Vim 的后续分
发也将受到 GPL 许可证限制。
- 一旦引入采用 GPL 许可的修改代码,后续所有改动都必须采用 GPL 或与之兼容的许可
证。
- 分发修改版 Vim 时,可通过 "configure" 的 "--with-modified-by" 参数或修改宏
MODIFIED_BY,写入修改者的姓名与联系方式。
- 本许可证适用于 Vim 源码。但 Vim 附带的部分运行时文件可能适用不同许可证条款;
具体适用条款应在相应文件的文件头部指明。