|
1 |
| -Vim - the text editor - for macOS |
| 1 | +<h1 align=center> |
| 2 | +<img src=https://macvim.org/docs/MacVim.png alt="MacVim logo" style="height:4em"><br> |
| 3 | +MacVim |
| 4 | +</h1> |
2 | 5 |
|
| 6 | +<p align="center"> |
| 7 | +<a href="https://macvim.org/">Website</a> · <a href="https://macvim.org/docs/gui_mac.txt">Documentation</a> |
| 8 | +</p> |
| 9 | +<p align="center"> |
| 10 | +<a href="https://github.com/macvim-dev/macvim/actions/workflows/ci-macvim.yaml?query=branch%3Amaster+event%3Apush"><img src="https://github.com/macvim-dev/macvim/actions/workflows/ci-macvim.yaml/badge.svg" alt="MacVim GitHub CI"></a> |
| 11 | +<a href="https://github.com/macvim-dev/macvim/releases/latest"><img src="https://img.shields.io/github/v/release/macvim-dev/macvim?label=GitHub%20Release&display=release" alt="GitHub release"></a> |
| 12 | +<a href="https://repology.org/project/macvim/versions"><img src="https://repology.org/badge/tiny-repos/macvim.svg" alt="Packaging status"></a> |
| 13 | +</p> |
3 | 14 |
|
4 |
| -- MacVim homepage: <https://macvim.org> |
5 | 15 |
|
6 |
| -- Download the latest version from [Releases](https://github.com/macvim-dev/macvim/releases/latest) |
| 16 | +MacVim is a macOS version of the [Vim](https://github.com/vim/vim) text editor, providing a graphical user interface for Vim, while tightly integrating with macOS and providing features specific to the platform. |
7 | 17 |
|
8 |
| -- How to [build MacVim from source](https://github.com/macvim-dev/macvim/wiki/Building) |
| 18 | +<hr> |
9 | 19 |
|
10 |
| -- Vim README: [README_vim.md](README_vim.md) |
| 20 | +<p align="center"> |
| 21 | + <picture> |
| 22 | + <source srcset="https://macvim.org/images/macvim-screenshot-light.png" media="(prefers-color-scheme: light)"/> |
| 23 | + <source srcset="https://macvim.org/images/macvim-screenshot-dark.png" media="(prefers-color-scheme: dark)"/> |
| 24 | + <img width="535" alt="macvim-screenshot-light" src="https://macvim.org/images/macvim-screenshot-light.png" /> |
| 25 | + </picture> |
| 26 | +</p> |
11 | 27 |
|
12 |
| -- [](https://github.com/macvim-dev/macvim/actions/workflows/ci-macvim.yaml) |
| 28 | +## Features |
13 | 29 |
|
14 |
| -- Packaged in [](https://repology.org/metapackage/macvim/versions) [](https://repology.org/metapackage/macvim/versions) |
| 30 | +- Smooth native GUI that supports menus, dialog boxes, toolbars, and scroll bars. |
| 31 | +- Native and non-native full-screen modes. |
| 32 | +- Trackpad gestures, Touch Bar, and Command key shortcuts can be mapped to Vim actions. |
| 33 | +- Integrates with system services, dictionary lookup, and Apple Intelligence Writing Tools. |
| 34 | +- Vim GUI tabs with customizable colors. |
| 35 | +- Font ligatures and accurate text rendering. |
| 36 | + |
| 37 | +## Getting Started |
| 38 | + |
| 39 | +See [installation documentation](https://github.com/macvim-dev/macvim/wiki/Installing) for more details and alternative methods to install. |
| 40 | + |
| 41 | +### Download |
| 42 | + |
| 43 | +You can download the latest version of MacVim from the [Releases](https://github.com/macvim-dev/macvim/releases/latest) page. |
| 44 | + |
| 45 | +### Install via Package Manager |
| 46 | + |
| 47 | +If you would like to install using a package manager, MacVim can be installed via Homebrew: |
| 48 | + |
| 49 | + ```zsh |
| 50 | + brew install macvim |
| 51 | + ``` |
| 52 | + |
| 53 | +MacVim is also available as a Homebrew cask. It will install the same pre-built binary as the one available from GitHub release: |
| 54 | + |
| 55 | + ```zsh |
| 56 | + brew install --cask macvim |
| 57 | + ``` |
| 58 | + |
| 59 | +After installation, MacVim can be launched using the Dock or in the terminal using the `mvim` command. |
| 60 | + |
| 61 | +### Building from Source |
| 62 | + |
| 63 | +If you prefer to build MacVim from source, detailed instructions are provided in the [Building MacVim](https://github.com/macvim-dev/macvim/wiki/Building) guide. |
| 64 | + |
| 65 | +## Relationship with Vim |
| 66 | + |
| 67 | +MacVim is a downstream fork of Vim, and routinely [merges from upstream](https://github.com/macvim-dev/macvim/wiki/Merging-from-upstream-Vim). The original Vim README can be found at [README_vim.md](README_vim.md). Vim itself is also available for macOS, but it does not have a GUI. |
| 68 | + |
| 69 | +In Homebrew, there are both a `macvim` and `vim` package. Both packages will provide a terminal version of Vim with similar features. The `vim` package is from the upstream Vim project and is usually a bit more up-to-date in core Vim features, while the `macvim` package will provide the additional GUI version bundled as an app. |
| 70 | + |
| 71 | +## License |
| 72 | + |
| 73 | +MacVim is released under the [Vim License](https://github.com/macvim-dev/macvim/blob/master/LICENSE). |
| 74 | + |
| 75 | +## Support |
| 76 | + |
| 77 | +If you encounter any issues or have questions, feel free to [open an issue](https://github.com/macvim-dev/macvim/issues) or visit the [discussions](https://github.com/macvim-dev/macvim/discussions) page. |
15 | 78 |
|
0 commit comments