| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 1 | # [](https://www.vim.org) |
| Bram Moolenaar | 0261a1a | 2020-12-24 17:41:12 +0100 | [diff] [blame] | 2 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 3 | [](https://github.com/vim/vim/actions?query=workflow%3A%22GitHub+CI%22) |
| 4 | [](https://ci.appveyor.com/project/chrisbra/vim) |
| 5 | [](https://cirrus-ci.com/github/vim/vim) |
| 6 | [](https://codecov.io/gh/vim/vim?branch=master) |
| 7 | [](https://scan.coverity.com/projects/vim) |
| 8 | [](https://buildd.debian.org/vim) |
| 9 | [](https://repology.org/metapackage/vim) |
| 10 | [](https://fossies.org/linux/test/vim-master.tar.gz/codespell.html) |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 11 | |
| Bram Moolenaar | 4a27aef | 2021-06-12 16:12:16 +0200 | [diff] [blame] | 12 | If you find a bug or want to discuss the best way to add a new feature, please |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 13 | [open an issue](https://github.com/vim/vim/issues/new/choose). |
| Bram Moolenaar | 4a27aef | 2021-06-12 16:12:16 +0200 | [diff] [blame] | 14 | If you have a question or want to discuss the best way to do something with |
| 15 | Vim, you can use [StackExchange](https://vi.stackexchange.com/) |
| 16 | or one of the [Maillists](https://www.vim.org/community.php). |
| 17 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 18 | ## What is Vim? |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 19 | |
| Bram Moolenaar | 56994d2 | 2021-04-17 16:31:09 +0200 | [diff] [blame] | 20 | Vim is a greatly improved version of the good old UNIX editor |
| Christian Brabandt | 4e9adfa | 2024-05-07 18:17:00 +0200 | [diff] [blame] | 21 | [Vi](https://en.wikipedia.org/wiki/Vi_(text_editor)). Many new |
| Bram Moolenaar | d18cfb7 | 2016-03-29 22:29:18 +0200 | [diff] [blame] | 22 | features have been added: multi-level undo, syntax highlighting, command line |
| 23 | history, on-line help, spell checking, filename completion, block operations, |
| 24 | script language, etc. There is also a Graphical User Interface (GUI) |
| 25 | available. Still, Vi compatibility is maintained, those who have Vi "in the |
| Bram Moolenaar | 56994d2 | 2021-04-17 16:31:09 +0200 | [diff] [blame] | 26 | fingers" will feel at home. |
| 27 | See [`runtime/doc/vi_diff.txt`](runtime/doc/vi_diff.txt) for differences with |
| Bram Moolenaar | d18cfb7 | 2016-03-29 22:29:18 +0200 | [diff] [blame] | 28 | Vi. |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 29 | |
| 30 | This editor is very useful for editing programs and other plain text files. |
| 31 | All commands are given with normal keyboard characters, so those who can type |
| 32 | with ten fingers can work very fast. Additionally, function keys can be |
| Bram Moolenaar | d18cfb7 | 2016-03-29 22:29:18 +0200 | [diff] [blame] | 33 | mapped to commands by the user, and the mouse can be used. |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 34 | |
| K.Takata | 27b53be | 2022-09-18 12:25:49 +0100 | [diff] [blame] | 35 | Vim runs under MS-Windows (7, 8, 10, 11), macOS, Haiku, VMS and almost all |
| 36 | flavours of UNIX. Porting to other systems should not be very difficult. |
| 37 | Older versions of Vim run on MS-DOS, MS-Windows 95/98/Me/NT/2000/XP/Vista, |
| 38 | Amiga DOS, Atari MiNT, BeOS, RISC OS and OS/2. These are no longer maintained. |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 39 | |
| Bram Moolenaar | 8a7d654 | 2020-01-26 15:56:19 +0100 | [diff] [blame] | 40 | For Vim9 script see [README_VIM9](README_VIM9.md). |
| 41 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 42 | ## Distribution |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 43 | |
| Bram Moolenaar | c92399f | 2015-10-25 13:55:00 +0100 | [diff] [blame] | 44 | You can often use your favorite package manager to install Vim. On Mac and |
| 45 | Linux a small version of Vim is pre-installed, you still need to install Vim |
| 46 | if you want more features. |
| 47 | |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 48 | There are separate distributions for Unix, PC, Amiga and some other systems. |
| 49 | This `README.md` file comes with the runtime archive. It includes the |
| 50 | documentation, syntax files and other files that are used at runtime. To run |
| 51 | Vim you must get either one of the binary archives or a source archive. |
| 52 | Which one you need depends on the system you want to run it on and whether you |
| Bram Moolenaar | 89a9c15 | 2021-08-29 21:55:35 +0200 | [diff] [blame] | 53 | want or must compile it yourself. Check https://www.vim.org/download.php for |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 54 | an overview of currently available distributions. |
| 55 | |
| Bram Moolenaar | 5d98c9d | 2016-04-15 20:54:52 +0200 | [diff] [blame] | 56 | Some popular places to get the latest Vim: |
| Bram Moolenaar | 56994d2 | 2021-04-17 16:31:09 +0200 | [diff] [blame] | 57 | * Check out the git repository from [GitHub](https://github.com/vim/vim). |
| Patrick Brinich-Langlois | 4225f28 | 2024-06-13 20:22:13 +0200 | [diff] [blame] | 58 | * Get the source code as an [archive](https://github.com/vim/vim/tags). |
| Bram Moolenaar | 5d98c9d | 2016-04-15 20:54:52 +0200 | [diff] [blame] | 59 | * Get a Windows executable from the |
| 60 | [vim-win32-installer](https://github.com/vim/vim-win32-installer/releases) repository. |
| 61 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 62 | ## Compiling |
| Bram Moolenaar | d18cfb7 | 2016-03-29 22:29:18 +0200 | [diff] [blame] | 63 | |
| 64 | If you obtained a binary distribution you don't need to compile Vim. If you |
| 65 | obtained a source distribution, all the stuff for compiling Vim is in the |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 66 | [`src`](./src/) directory. See [`src/INSTALL`](./src/INSTALL) for instructions. |
| Bram Moolenaar | d18cfb7 | 2016-03-29 22:29:18 +0200 | [diff] [blame] | 67 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 68 | ## Installation |
| Bram Moolenaar | d18cfb7 | 2016-03-29 22:29:18 +0200 | [diff] [blame] | 69 | |
| 70 | See one of these files for system-specific instructions. Either in the |
| Bram Moolenaar | 56994d2 | 2021-04-17 16:31:09 +0200 | [diff] [blame] | 71 | [READMEdir directory](./READMEdir/) (in the repository) or |
| 72 | the top directory (if you unpack an archive): |
| Bram Moolenaar | d18cfb7 | 2016-03-29 22:29:18 +0200 | [diff] [blame] | 73 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 74 | ``` |
| 75 | README_ami.txt Amiga |
| 76 | README_unix.txt Unix |
| 77 | README_dos.txt MS-DOS and MS-Windows |
| 78 | README_mac.txt Macintosh |
| 79 | README_haiku.txt Haiku |
| 80 | README_vms.txt VMS |
| 81 | ``` |
| Bram Moolenaar | d18cfb7 | 2016-03-29 22:29:18 +0200 | [diff] [blame] | 82 | |
| 83 | There are other `README_*.txt` files, depending on the distribution you used. |
| 84 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 85 | ## Documentation |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 86 | |
| Bram Moolenaar | d18cfb7 | 2016-03-29 22:29:18 +0200 | [diff] [blame] | 87 | The Vim tutor is a one hour training course for beginners. Often it can be |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 88 | started as `vimtutor`. See `:help tutor` for more information. |
| 89 | |
| 90 | The best is to use `:help` in Vim. If you don't have an executable yet, read |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 91 | [`runtime/doc/help.txt`](./runtime/doc/help.txt). |
| Bram Moolenaar | 56994d2 | 2021-04-17 16:31:09 +0200 | [diff] [blame] | 92 | It contains pointers to the other documentation files. |
| 93 | The User Manual reads like a book and is recommended to learn to use |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 94 | Vim. See `:help user-manual`. |
| 95 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 96 | ## Copying |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 97 | |
| 98 | Vim is Charityware. You can use and copy it as much as you like, but you are |
| 99 | encouraged to make a donation to help orphans in Uganda. Please read the file |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 100 | [`runtime/doc/uganda.txt`](./runtime/doc/uganda.txt) |
| Bram Moolenaar | 56994d2 | 2021-04-17 16:31:09 +0200 | [diff] [blame] | 101 | for details (do `:help uganda` inside Vim). |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 102 | |
| 103 | Summary of the license: There are no restrictions on using or distributing an |
| 104 | unmodified copy of Vim. Parts of Vim may also be distributed, but the license |
| Bram Moolenaar | f1dcd14 | 2022-12-31 15:30:45 +0000 | [diff] [blame] | 105 | text must always be included. For modified versions, a few restrictions apply. |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 106 | The license is GPL compatible, you may compile Vim with GPL libraries and |
| 107 | distribute it. |
| 108 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 109 | ## Sponsoring |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 110 | |
| 111 | Fixing bugs and adding new features takes a lot of time and effort. To show |
| Restorer | b75825f | 2024-03-28 09:14:47 +0000 | [diff] [blame] | 112 | your appreciation for the work and motivate developers to continue working on |
| 113 | Vim please send a donation. |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 114 | |
| Restorer | b75825f | 2024-03-28 09:14:47 +0000 | [diff] [blame] | 115 | The money you donated will be mainly used to help children in Uganda. See |
| 116 | [`runtime/doc/uganda.txt`](./runtime/doc/uganda.txt). But at the same time |
| 117 | donations increase the development team motivation to keep working on Vim! |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 118 | |
| 119 | For the most recent information about sponsoring look on the Vim web site: |
| Bram Moolenaar | 89a9c15 | 2021-08-29 21:55:35 +0200 | [diff] [blame] | 120 | https://www.vim.org/sponsor/ |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 121 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 122 | ## Contributing |
| Bram Moolenaar | 3fe076f | 2015-09-25 15:00:56 +0200 | [diff] [blame] | 123 | |
| Bram Moolenaar | f1dcd14 | 2022-12-31 15:30:45 +0000 | [diff] [blame] | 124 | If you would like to help make Vim better, see the |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 125 | [CONTRIBUTING.md](./CONTRIBUTING.md) file. |
| Bram Moolenaar | 3fe076f | 2015-09-25 15:00:56 +0200 | [diff] [blame] | 126 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 127 | ## Information |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 128 | |
| partev | e6e3a7a | 2024-03-26 13:09:05 -0400 | [diff] [blame] | 129 | If you are on macOS, you can use [MacVim](https://macvim.org). |
| Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 130 | |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 131 | The latest news about Vim can be found on the Vim home page: |
| Bram Moolenaar | 89a9c15 | 2021-08-29 21:55:35 +0200 | [diff] [blame] | 132 | https://www.vim.org/ |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 133 | |
| 134 | If you have problems, have a look at the Vim documentation or tips: |
| Bram Moolenaar | 89a9c15 | 2021-08-29 21:55:35 +0200 | [diff] [blame] | 135 | https://www.vim.org/docs.php |
| 136 | https://vim.fandom.com/wiki/Vim_Tips_Wiki |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 137 | |
| 138 | If you still have problems or any other questions, use one of the mailing |
| 139 | lists to discuss them with Vim users and developers: |
| Bram Moolenaar | 89a9c15 | 2021-08-29 21:55:35 +0200 | [diff] [blame] | 140 | https://www.vim.org/maillist.php |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 141 | |
| Christian Brabandt | e978b45 | 2023-08-13 10:33:05 +0200 | [diff] [blame] | 142 | If nothing else works, report bugs directly to the vim-dev mailing list: |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 143 | `<vim-dev@vim.org>` |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 144 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 145 | ## Main author |
| Bram Moolenaar | 694cac7 | 2015-07-10 19:22:03 +0200 | [diff] [blame] | 146 | |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 147 | Most of Vim was created by Bram Moolenaar `<Bram@vim.org>` |
| Christian Brabandt | 1688938 | 2023-08-13 17:53:07 +0200 | [diff] [blame] | 148 | [Bram-Moolenaar](https://vimhelp.org/version9.txt.html#Bram-Moolenaar) |
| 149 | |
| Christian Brabandt | e978b45 | 2023-08-13 10:33:05 +0200 | [diff] [blame] | 150 | Send any other comments, patches, flowers and suggestions to the vim-dev mailing list: |
| Viktor Szépe | b23db54 | 2023-08-19 14:16:10 +0200 | [diff] [blame] | 151 | `<vim-dev@vim.org>` |
| Bram Moolenaar | 5c36707 | 2018-06-18 22:31:11 +0200 | [diff] [blame] | 152 | |
| Christian Brabandt | b4ddc6c | 2024-01-02 16:51:11 +0100 | [diff] [blame] | 153 | This is `README.md` for version 9.1 of Vim: Vi IMproved. |