Vim

无处不在的文本编辑器。(the ubiquitous text editor)

Github星跟蹤圖

Vim是一个高度可配置的文本编辑器,可以非常有效地建立创造和改变任何一种文本文件。它是作为“vi”存在于大多数UNIX系统和苹果OS X 中。

Vim 像磐石一样地稳定,并且不断被开发得更好。其功能包括︰

  • 持久性、 多级撤消树
  • 广泛的插件系统
  • 数以百计的编程语言和文件格式支持
  • 强大的搜索和替换
  • 与许多工具集成

Vim是一个很好的旧UNIX编辑器Vi的改进版本。添加了许多新功能:多级撤消,语法突出显示,命令行历史记录,联机帮助,拼写检查,文件名完成,块操作,脚本语言等。还提供了图形用户界面(GUI)。仍然保持Vi的兼容性,那些拥有Vi“手指”的人会有宾至如归的感觉。有关与Vi的差异,请参阅仓库中的 runtime/doc/vi_diff.txt。

此编辑器对于编辑程序和其他纯文本文件非常有用。所有命令都使用普通的键盘字符,因此可以用十个手指键入的人可以非常快速地工作。另外,功能键可以由用户映射到命令,并且可以使用鼠标。

Vim运行在MS-Windows(NT,2000,XP,Vista,7,8,10),Macintosh,VMS和几乎所有类型的UNIX下。移植到其他系统应该不是很困难。较旧版本的Vim可在MS-DOS,MS-Windows 95/98/Me,Amiga DOS,Atari MiNT,BeOS,RISC OS和OS/2上运行。但这些已不再维护。

主要指標

概覽
名稱與所有者vim/vim
主編程語言Vim Script
編程語言Makefile (語言數: 35)
平台BSD, Linux, Mac, Raspbian, Solaris, Unix-like, Windows
許可證Vim License
所有者活动
創建於2015-08-18 21:03:56
推送於2024-11-10 13:11:47
最后一次提交2024-11-10 14:10:52
發布數17581
最新版本名稱v9.1.0848 (發布於 2024-11-09 18:31:27)
第一版名稱v7.0001 (發布於 )
用户参与
星數36.6k
關注者數673
派生數5.5k
提交數20.4k
已啟用問題?
問題數8323
打開的問題數1447
拉請求數438
打開的拉請求數71
關閉的拉請求數7042
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

Vim Logo

Travis Build Status
Appveyor Build status
Cirrus Build Status
Coverage Status
Coverity Scan
Language Grade: C/C++
Debian CI
Packages
For translations of this README see the end.

What is Vim?

Vim is a greatly improved version of the good old UNIX editor Vi. Many new
features have been added: multi-level undo, syntax highlighting, command line
history, on-line help, spell checking, filename completion, block operations,
script language, etc. There is also a Graphical User Interface (GUI)
available. Still, Vi compatibility is maintained, those who have Vi "in the
fingers" will feel at home. See runtime/doc/vi_diff.txt for differences with
Vi.

This editor is very useful for editing programs and other plain text files.
All commands are given with normal keyboard characters, so those who can type
with ten fingers can work very fast. Additionally, function keys can be
mapped to commands by the user, and the mouse can be used.

Vim runs under MS-Windows (XP, Vista, 7, 8, 10), macOS, VMS and almost all
flavours of UNIX. Porting to other systems should not be very difficult.
Older versions of Vim run on MS-DOS, MS-Windows 95/98/Me/NT/2000, Amiga DOS,
Atari MiNT, BeOS, RISC OS and OS/2. These are no longer maintained.

For Vim9 script see README_VIM9.

Distribution

You can often use your favorite package manager to install Vim. On Mac and
Linux a small version of Vim is pre-installed, you still need to install Vim
if you want more features.

There are separate distributions for Unix, PC, Amiga and some other systems.
This README.md file comes with the runtime archive. It includes the
documentation, syntax files and other files that are used at runtime. To run
Vim you must get either one of the binary archives or a source archive.
Which one you need depends on the system you want to run it on and whether you
want or must compile it yourself. Check http://www.vim.org/download.php for
an overview of currently available distributions.

Some popular places to get the latest Vim:

Compiling

If you obtained a binary distribution you don't need to compile Vim. If you
obtained a source distribution, all the stuff for compiling Vim is in the
src directory. See src/INSTALL for instructions.

Installation

See one of these files for system-specific instructions. Either in the
READMEdir directory (in the repository) or the top directory (if you unpack an
archive):

README_ami.txt		Amiga
README_unix.txt		Unix
README_dos.txt		MS-DOS and MS-Windows
README_mac.txt		Macintosh
README_vms.txt		VMS

There are other README_*.txt files, depending on the distribution you used.

Documentation

The Vim tutor is a one hour training course for beginners. Often it can be
started as vimtutor. See :help tutor for more information.

The best is to use :help in Vim. If you don't have an executable yet, read
runtime/doc/help.txt. It contains pointers to the other documentation
files. The User Manual reads like a book and is recommended to learn to use
Vim. See :help user-manual.

Copying

Vim is Charityware. You can use and copy it as much as you like, but you are
encouraged to make a donation to help orphans in Uganda. Please read the file
runtime/doc/uganda.txt for details (do :help uganda inside Vim).

Summary of the license: There are no restrictions on using or distributing an
unmodified copy of Vim. Parts of Vim may also be distributed, but the license
text must always be included. For modified versions a few restrictions apply.
The license is GPL compatible, you may compile Vim with GPL libraries and
distribute it.

Sponsoring

Fixing bugs and adding new features takes a lot of time and effort. To show
your appreciation for the work and motivate Bram and others to continue
working on Vim please send a donation.

Since Bram is back to a paid job the money will now be used to help children
in Uganda. See runtime/doc/uganda.txt. But at the same time donations
increase Bram's motivation to keep working on Vim!

For the most recent information about sponsoring look on the Vim web site:
http://www.vim.org/sponsor/

Contributing

If you would like to help making Vim better, see the CONTRIBUTING.md file.

Information

The latest news about Vim can be found on the Vim home page:
http://www.vim.org/

If you have problems, have a look at the Vim documentation or tips:
http://www.vim.org/docs.php
http://vim.wikia.com/wiki/Vim_Tips_Wiki

If you still have problems or any other questions, use one of the mailing
lists to discuss them with Vim users and developers:
http://www.vim.org/maillist.php

If nothing else works, report bugs directly:
Bram Moolenaar Bram@vim.org

Main author

Send any other comments, patches, flowers and suggestions to:
Bram Moolenaar Bram@vim.org

This is README.md for version 8.2 of Vim: Vi IMproved.

Translations of this README

Korean