blob: 80ec9e3c43bafa1b36392318965698dbc6639575 [file] [log] [blame]
Christian Brabandtb4ddc6c2024-01-02 16:51:11 +01001README.txt for version 9.1 of Vim: Vi IMproved.
Bram Moolenaar0c628d12004-06-13 12:29:53 +00002
3
Bram Moolenaarc92399f2015-10-25 13:55:00 +01004WHAT IS VIM?
Bram Moolenaar0c628d12004-06-13 12:29:53 +00005
Bram Moolenaard18cfb72016-03-29 22:29:18 +02006Vim is a greatly improved version of the good old UNIX editor Vi. Many new
7features have been added: multi-level undo, syntax highlighting, command line
8history, on-line help, spell checking, filename completion, block operations,
Restorerb75825f2024-03-28 09:14:47 +00009script language, etc. There is also a Graphical User Interface (GUI) available.
10Still, Vi compatibility is maintained, those who have Vi "in the fingers" will
11feel at home. See "runtime/doc/vi_diff.txt" for differences with Vi.
Bram Moolenaar0c628d12004-06-13 12:29:53 +000012
Bram Moolenaar755bd262010-08-14 17:46:20 +020013This editor is very useful for editing programs and other plain text files.
Bram Moolenaar0c628d12004-06-13 12:29:53 +000014All commands are given with normal keyboard characters, so those who can type
15with ten fingers can work very fast. Additionally, function keys can be
Bram Moolenaard18cfb72016-03-29 22:29:18 +020016mapped to commands by the user, and the mouse can be used.
Bram Moolenaar0c628d12004-06-13 12:29:53 +000017
Christian Brabandt2bfd1ee2025-06-29 18:27:41 +020018Vim also aims to provide a (mostly) POSIX-compatible vi implementation, when
19compiled with a minimal feature set (typically called vim.tiny), which is used
20by many Linux distributions as the default vi editor.
21
K.Takata27b53be2022-09-18 12:25:49 +010022Vim runs under MS-Windows (7, 8, 10, 11), macOS, Haiku, VMS and almost all
Bram Moolenaarf2a44e52020-01-16 19:40:38 +010023flavours of UNIX. Porting to other systems should not be very difficult.
K.Takata27b53be2022-09-18 12:25:49 +010024Older versions of Vim run on MS-DOS, MS-Windows 95/98/Me/NT/2000/XP/Vista,
25Amiga DOS, Atari MiNT, BeOS, RISC OS and OS/2. These are no longer maintained.
Bram Moolenaar0c628d12004-06-13 12:29:53 +000026
27
28DISTRIBUTION
29
Bram Moolenaarc92399f2015-10-25 13:55:00 +010030You can often use your favorite package manager to install Vim. On Mac and
31Linux a small version of Vim is pre-installed, you still need to install Vim
32if you want more features.
33
Bram Moolenaar0c628d12004-06-13 12:29:53 +000034There are separate distributions for Unix, PC, Amiga and some other systems.
35This README.txt file comes with the runtime archive. It includes the
36documentation, syntax files and other files that are used at runtime. To run
37Vim you must get either one of the binary archives or a source archive.
38Which one you need depends on the system you want to run it on and whether you
Bram Moolenaar89a9c152021-08-29 21:55:35 +020039want or must compile it yourself. Check "https://www.vim.org/download.php" for
Bram Moolenaar0c628d12004-06-13 12:29:53 +000040an overview of currently available distributions.
41
Bram Moolenaar5d98c9d2016-04-15 20:54:52 +020042Some popular places to get the latest Vim:
43* Check out the git repository from github: https://github.com/vim/vim.
Patrick Brinich-Langlois4225f282024-06-13 20:22:13 +020044* Get the source code as an archive: https://github.com/vim/vim/tags.
Bram Moolenaar5d98c9d2016-04-15 20:54:52 +020045* Get a Windows executable from the vim-win32-installer repository:
46 https://github.com/vim/vim-win32-installer/releases.
47
Bram Moolenaar0c628d12004-06-13 12:29:53 +000048
Bram Moolenaard18cfb72016-03-29 22:29:18 +020049COMPILING
50
51If you obtained a binary distribution you don't need to compile Vim. If you
52obtained a source distribution, all the stuff for compiling Vim is in the
53"src" directory. See src/INSTALL for instructions.
54
55
56INSTALLATION
57
58See one of these files for system-specific instructions. Either in the
59READMEdir directory (in the repository) or the top directory (if you unpack an
60archive):
61
62README_ami.txt Amiga
63README_unix.txt Unix
64README_dos.txt MS-DOS and MS-Windows
65README_mac.txt Macintosh
Restorerb75825f2024-03-28 09:14:47 +000066README_haiku.txt Haiku
Bram Moolenaard18cfb72016-03-29 22:29:18 +020067README_vms.txt VMS
68
Restorerb75825f2024-03-28 09:14:47 +000069There are other README_*.txt files, depending on the distribution you used.
Bram Moolenaard18cfb72016-03-29 22:29:18 +020070
71
Bram Moolenaar0c628d12004-06-13 12:29:53 +000072DOCUMENTATION
73
Bram Moolenaard18cfb72016-03-29 22:29:18 +020074The Vim tutor is a one hour training course for beginners. Often it can be
Bram Moolenaar755bd262010-08-14 17:46:20 +020075started as "vimtutor". See ":help tutor" for more information.
76
Bram Moolenaar0c628d12004-06-13 12:29:53 +000077The best is to use ":help" in Vim. If you don't have an executable yet, read
Restorerb75825f2024-03-28 09:14:47 +000078"runtime/doc/help.txt". It contains pointers to the other documentation files.
79The User Manual reads like a book and is recommended to learn to use Vim. See
80":help user-manual".
Bram Moolenaar0c628d12004-06-13 12:29:53 +000081
Bram Moolenaar0c628d12004-06-13 12:29:53 +000082
83COPYING
84
85Vim is Charityware. You can use and copy it as much as you like, but you are
Bram Moolenaar755bd262010-08-14 17:46:20 +020086encouraged to make a donation to help orphans in Uganda. Please read the file
Bram Moolenaar0c628d12004-06-13 12:29:53 +000087"runtime/doc/uganda.txt" for details (do ":help uganda" inside Vim).
88
89Summary of the license: There are no restrictions on using or distributing an
90unmodified copy of Vim. Parts of Vim may also be distributed, but the license
Bram Moolenaarf1dcd142022-12-31 15:30:45 +000091text must always be included. For modified versions, a few restrictions apply.
Bram Moolenaar0c628d12004-06-13 12:29:53 +000092The license is GPL compatible, you may compile Vim with GPL libraries and
93distribute it.
94
95
96SPONSORING
97
Bram Moolenaar4c3f5362006-04-11 21:38:50 +000098Fixing bugs and adding new features takes a lot of time and effort. To show
Restorerb75825f2024-03-28 09:14:47 +000099your appreciation for the work and motivate developers to continue working on
100Vim please send a donation.
Bram Moolenaar0c628d12004-06-13 12:29:53 +0000101
Restorerb75825f2024-03-28 09:14:47 +0000102The money you donated will be mainly used to help children in Uganda. See
103"runtime/doc/uganda.txt". But at the same time donations increase the
104development team motivation to keep working on Vim!
Bram Moolenaar0c628d12004-06-13 12:29:53 +0000105
106For the most recent information about sponsoring look on the Vim web site:
Bram Moolenaar89a9c152021-08-29 21:55:35 +0200107 https://www.vim.org/sponsor/
Bram Moolenaar0c628d12004-06-13 12:29:53 +0000108
109
Bram Moolenaard18cfb72016-03-29 22:29:18 +0200110CONTRIBUTING
Bram Moolenaar0c628d12004-06-13 12:29:53 +0000111
Bram Moolenaarf1dcd142022-12-31 15:30:45 +0000112If you would like to help make Vim better, see the CONTRIBUTING.md file.
Bram Moolenaar755bd262010-08-14 17:46:20 +0200113
Bram Moolenaar0c628d12004-06-13 12:29:53 +0000114
115INFORMATION
116
Restorerb75825f2024-03-28 09:14:47 +0000117If you are on macOS, you can use MacVim: https://macvim.org
118
Bram Moolenaar0c628d12004-06-13 12:29:53 +0000119The latest news about Vim can be found on the Vim home page:
Bram Moolenaar89a9c152021-08-29 21:55:35 +0200120 https://www.vim.org/
Bram Moolenaar0c628d12004-06-13 12:29:53 +0000121
Bram Moolenaar86ae7202015-07-10 19:31:35 +0200122If you have problems, have a look at the Vim documentation or tips:
Bram Moolenaar89a9c152021-08-29 21:55:35 +0200123 https://www.vim.org/docs.php
124 https://vim.fandom.com/wiki/Vim_Tips_Wiki
Bram Moolenaar0c628d12004-06-13 12:29:53 +0000125
Restorerb75825f2024-03-28 09:14:47 +0000126If you still have problems or any other questions, use one of the mailing lists
127to discuss them with Vim users and developers:
Bram Moolenaar89a9c152021-08-29 21:55:35 +0200128 https://www.vim.org/maillist.php
Bram Moolenaar8d4eecc2012-11-20 17:19:01 +0100129
Christian Brabandte978b452023-08-13 10:33:05 +0200130If nothing else works, report bugs directly to the vim-dev mailing list:
131 <vim-dev@vim.org>
Bram Moolenaar0c628d12004-06-13 12:29:53 +0000132
Bram Moolenaar0c628d12004-06-13 12:29:53 +0000133
134MAIN AUTHOR
135
Restorerb75825f2024-03-28 09:14:47 +0000136Most of Vim was created by Bram Moolenaar <Bram@vim.org>, ":help Bram-Moolenaar"
Christian Brabandt16889382023-08-13 17:53:07 +0200137
Restorerb75825f2024-03-28 09:14:47 +0000138Send any other comments, patches, flowers and suggestions to the vim-dev
139mailing list: <vim-dev@vim.org>