xref: /vim-8.2.3635/README.md (revision 89a9c159)
1b54f1202SBram Moolenaar[![Vim Logo](https://github.com/vim/vim/raw/master/runtime/vimlogo.gif)](https://www.vim.org)
20261a1aeSBram Moolenaar
32f91e2f8SBram Moolenaar[![Github Build status](https://github.com/vim/vim/workflows/GitHub%20CI/badge.svg)](https://github.com/vim/vim/actions?query=workflow%3A%22GitHub+CI%22) [![Travis Build Status](https://travis-ci.com/vim/vim.svg?branch=master)](https://travis-ci.com/github/vim/vim) [![Appveyor Build status](https://ci.appveyor.com/api/projects/status/o2qht2kjm02sgghk?svg=true)](https://ci.appveyor.com/project/chrisbra/vim) [![Cirrus Build Status](https://api.cirrus-ci.com/github/vim/vim.svg)](https://cirrus-ci.com/github/vim/vim) [![Coverage Status](https://codecov.io/gh/vim/vim/coverage.svg?branch=master)](https://codecov.io/gh/vim/vim?branch=master) [![Coverity Scan](https://scan.coverity.com/projects/241/badge.svg)](https://scan.coverity.com/projects/vim) [![Language Grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/vim/vim.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/vim/vim/context:cpp) [![Debian CI](https://badges.debian.net/badges/debian/testing/vim/version.svg)](https://buildd.debian.org/vim) [![Packages](https://repology.org/badge/tiny-repos/vim.svg)](https://repology.org/metapackage/vim) [![Fossies codespell report](https://fossies.org/linux/test/vim-master.tar.gz/codespell.svg)](https://fossies.org/linux/test/vim-master.tar.gz/codespell.html)
4b54f1202SBram Moolenaar
50261a1aeSBram Moolenaar<sub>For translations of this README see the end.</sub>
6694cac7aSBram Moolenaar
74a27aefeSBram MoolenaarIf you find a bug or want to discuss the best way to add a new feature, please
84a27aefeSBram Moolenaaropen an [issue](https://github.com/vim/vim/issues).
94a27aefeSBram MoolenaarIf you have a question or want to discuss the best way to do something with
104a27aefeSBram MoolenaarVim, you can use [StackExchange](https://vi.stackexchange.com/)
114a27aefeSBram Moolenaaror one of the [Maillists](https://www.vim.org/community.php).
124a27aefeSBram Moolenaar
13694cac7aSBram Moolenaar
14c92399f4SBram Moolenaar## What is Vim? ##
15694cac7aSBram Moolenaar
1656994d21SBram MoolenaarVim is a greatly improved version of the good old UNIX editor
1756994d21SBram Moolenaar[Vi](https://en.wikipedia.org/wiki/Vi).  Many new
18d18cfb7dSBram Moolenaarfeatures have been added: multi-level undo, syntax highlighting, command line
19d18cfb7dSBram Moolenaarhistory, on-line help, spell checking, filename completion, block operations,
20d18cfb7dSBram Moolenaarscript language, etc.  There is also a Graphical User Interface (GUI)
21d18cfb7dSBram Moolenaaravailable.  Still, Vi compatibility is maintained, those who have Vi "in the
2256994d21SBram Moolenaarfingers" will feel at home.
2356994d21SBram MoolenaarSee [`runtime/doc/vi_diff.txt`](runtime/doc/vi_diff.txt) for differences with
24d18cfb7dSBram MoolenaarVi.
25694cac7aSBram Moolenaar
26694cac7aSBram MoolenaarThis editor is very useful for editing programs and other plain text files.
27694cac7aSBram MoolenaarAll commands are given with normal keyboard characters, so those who can type
28694cac7aSBram Moolenaarwith ten fingers can work very fast.  Additionally, function keys can be
29d18cfb7dSBram Moolenaarmapped to commands by the user, and the mouse can be used.
30694cac7aSBram Moolenaar
31beae4084SBram MoolenaarVim runs under MS-Windows (XP, Vista, 7, 8, 10), macOS, Haiku, VMS and almost
32beae4084SBram Moolenaarall flavours of UNIX.  Porting to other systems should not be very difficult.
33f2a44e5cSBram MoolenaarOlder versions of Vim run on MS-DOS, MS-Windows 95/98/Me/NT/2000, Amiga DOS,
34f2a44e5cSBram MoolenaarAtari MiNT, BeOS, RISC OS and OS/2.  These are no longer maintained.
35694cac7aSBram Moolenaar
368a7d6542SBram MoolenaarFor Vim9 script see [README_VIM9](README_VIM9.md).
378a7d6542SBram Moolenaar
38694cac7aSBram Moolenaar## Distribution ##
39694cac7aSBram Moolenaar
40c92399f4SBram MoolenaarYou can often use your favorite package manager to install Vim.  On Mac and
41c92399f4SBram MoolenaarLinux a small version of Vim is pre-installed, you still need to install Vim
42c92399f4SBram Moolenaarif you want more features.
43c92399f4SBram Moolenaar
44694cac7aSBram MoolenaarThere are separate distributions for Unix, PC, Amiga and some other systems.
45694cac7aSBram MoolenaarThis `README.md` file comes with the runtime archive.  It includes the
46694cac7aSBram Moolenaardocumentation, syntax files and other files that are used at runtime.  To run
47694cac7aSBram MoolenaarVim you must get either one of the binary archives or a source archive.
48694cac7aSBram MoolenaarWhich one you need depends on the system you want to run it on and whether you
49*89a9c159SBram Moolenaarwant or must compile it yourself.  Check https://www.vim.org/download.php for
50694cac7aSBram Moolenaaran overview of currently available distributions.
51694cac7aSBram Moolenaar
525d98c9d9SBram MoolenaarSome popular places to get the latest Vim:
5356994d21SBram Moolenaar* Check out the git repository from [GitHub](https://github.com/vim/vim).
545d98c9d9SBram Moolenaar* Get the source code as an [archive](https://github.com/vim/vim/releases).
555d98c9d9SBram Moolenaar* Get a Windows executable from the
565d98c9d9SBram Moolenaar[vim-win32-installer](https://github.com/vim/vim-win32-installer/releases) repository.
575d98c9d9SBram Moolenaar
585d98c9d9SBram Moolenaar
59694cac7aSBram Moolenaar
60d18cfb7dSBram Moolenaar## Compiling ##
61d18cfb7dSBram Moolenaar
62d18cfb7dSBram MoolenaarIf you obtained a binary distribution you don't need to compile Vim.  If you
63d18cfb7dSBram Moolenaarobtained a source distribution, all the stuff for compiling Vim is in the
6456994d21SBram Moolenaar[`src`](/src) directory.  See [`src/INSTALL`](src/INSTALL) for instructions.
65d18cfb7dSBram Moolenaar
66d18cfb7dSBram Moolenaar
67d18cfb7dSBram Moolenaar## Installation ##
68d18cfb7dSBram Moolenaar
69d18cfb7dSBram MoolenaarSee one of these files for system-specific instructions.  Either in the
7056994d21SBram Moolenaar[READMEdir directory](./READMEdir/) (in the repository) or
7156994d21SBram Moolenaarthe top directory (if you unpack an archive):
72d18cfb7dSBram Moolenaar
73d18cfb7dSBram Moolenaar	README_ami.txt		Amiga
74d18cfb7dSBram Moolenaar	README_unix.txt		Unix
75d18cfb7dSBram Moolenaar	README_dos.txt		MS-DOS and MS-Windows
76d18cfb7dSBram Moolenaar	README_mac.txt		Macintosh
77beae4084SBram Moolenaar	README_haiku.txt	Haiku
78d18cfb7dSBram Moolenaar	README_vms.txt		VMS
79d18cfb7dSBram Moolenaar
80d18cfb7dSBram MoolenaarThere are other `README_*.txt` files, depending on the distribution you used.
81d18cfb7dSBram Moolenaar
82d18cfb7dSBram Moolenaar
83694cac7aSBram Moolenaar## Documentation ##
84694cac7aSBram Moolenaar
85d18cfb7dSBram MoolenaarThe Vim tutor is a one hour training course for beginners.  Often it can be
86694cac7aSBram Moolenaarstarted as `vimtutor`.  See `:help tutor` for more information.
87694cac7aSBram Moolenaar
88694cac7aSBram MoolenaarThe best is to use `:help` in Vim.  If you don't have an executable yet, read
8956994d21SBram Moolenaar[`runtime/doc/help.txt`](/runtime/doc/help.txt).
9056994d21SBram MoolenaarIt contains pointers to the other documentation files.
9156994d21SBram MoolenaarThe User Manual reads like a book and is recommended to learn to use
92694cac7aSBram MoolenaarVim.  See `:help user-manual`.
93694cac7aSBram Moolenaar
94694cac7aSBram Moolenaar
95694cac7aSBram Moolenaar## Copying ##
96694cac7aSBram Moolenaar
97694cac7aSBram MoolenaarVim is Charityware.  You can use and copy it as much as you like, but you are
98694cac7aSBram Moolenaarencouraged to make a donation to help orphans in Uganda.  Please read the file
9956994d21SBram Moolenaar[`runtime/doc/uganda.txt`](runtime/doc/uganda.txt)
10056994d21SBram Moolenaarfor details (do `:help uganda` inside Vim).
101694cac7aSBram Moolenaar
102694cac7aSBram MoolenaarSummary of the license: There are no restrictions on using or distributing an
103694cac7aSBram Moolenaarunmodified copy of Vim.  Parts of Vim may also be distributed, but the license
104694cac7aSBram Moolenaartext must always be included.  For modified versions a few restrictions apply.
105694cac7aSBram MoolenaarThe license is GPL compatible, you may compile Vim with GPL libraries and
106694cac7aSBram Moolenaardistribute it.
107694cac7aSBram Moolenaar
108694cac7aSBram Moolenaar
109694cac7aSBram Moolenaar## Sponsoring ##
110694cac7aSBram Moolenaar
111694cac7aSBram MoolenaarFixing bugs and adding new features takes a lot of time and effort.  To show
112694cac7aSBram Moolenaaryour appreciation for the work and motivate Bram and others to continue
113694cac7aSBram Moolenaarworking on Vim please send a donation.
114694cac7aSBram Moolenaar
115694cac7aSBram MoolenaarSince Bram is back to a paid job the money will now be used to help children
11656994d21SBram Moolenaarin Uganda.  See [`runtime/doc/uganda.txt`](runtime/doc/uganda.txt).  But
11756994d21SBram Moolenaarat the same time donations increase Bram's motivation to keep working on Vim!
118694cac7aSBram Moolenaar
119694cac7aSBram MoolenaarFor the most recent information about sponsoring look on the Vim web site:
120*89a9c159SBram Moolenaar	https://www.vim.org/sponsor/
121694cac7aSBram Moolenaar
122694cac7aSBram Moolenaar
1233fe076f0SBram Moolenaar## Contributing ##
1243fe076f0SBram Moolenaar
12556994d21SBram MoolenaarIf you would like to help making Vim better, see the
12656994d21SBram Moolenaar[CONTRIBUTING.md](/CONTRIBUTING.md) file.
1273fe076f0SBram Moolenaar
1283fe076f0SBram Moolenaar
129694cac7aSBram Moolenaar## Information ##
130694cac7aSBram Moolenaar
131694cac7aSBram MoolenaarThe latest news about Vim can be found on the Vim home page:
132*89a9c159SBram Moolenaar	https://www.vim.org/
133694cac7aSBram Moolenaar
134694cac7aSBram MoolenaarIf you have problems, have a look at the Vim documentation or tips:
135*89a9c159SBram Moolenaar	https://www.vim.org/docs.php
136*89a9c159SBram Moolenaar	https://vim.fandom.com/wiki/Vim_Tips_Wiki
137694cac7aSBram Moolenaar
138694cac7aSBram MoolenaarIf you still have problems or any other questions, use one of the mailing
139694cac7aSBram Moolenaarlists to discuss them with Vim users and developers:
140*89a9c159SBram Moolenaar	https://www.vim.org/maillist.php
141694cac7aSBram Moolenaar
142694cac7aSBram MoolenaarIf nothing else works, report bugs directly:
143694cac7aSBram Moolenaar	Bram Moolenaar <[email protected]>
144694cac7aSBram Moolenaar
145694cac7aSBram Moolenaar
146694cac7aSBram Moolenaar## Main author ##
147694cac7aSBram Moolenaar
148694cac7aSBram MoolenaarSend any other comments, patches, flowers and suggestions to:
149694cac7aSBram Moolenaar	Bram Moolenaar <[email protected]>
1505c367071SBram Moolenaar
1515c367071SBram Moolenaar
15298056533SBram MoolenaarThis is `README.md` for version 8.2 of Vim: Vi IMproved.
153403f3eb4SBram Moolenaar
154403f3eb4SBram Moolenaar
155403f3eb4SBram Moolenaar## Translations of this README ##
156403f3eb4SBram Moolenaar
157403f3eb4SBram Moolenaar[Korean](https://github.com/cjw1359/opensource/blob/master/Vim/README_ko.md)
158