Yee Cheng Chin 601f23a103 Add make target to sign with ad-hoc signature with correct entitlements
By default, building MacVim locally will sign with an ad-hoc signature with no
entitlements. Release builds are then signed with the `macvim-signed`
target which signs MacVim with a valid signature and embed the
entitlments. This new target allows us to sign MacVim to have similar
entitlements and behaviors as a release build without needing an Apple
Developer signature.

There are currently two possible use cases for this:
1. Package managers like Homebrew can use this to build MacVim to get
   the correct hardened runtime entitlements.
2. Reproducible builds (#1506) can use this to generate a reproducible
   artifact. Proper release builds are not reproducible since there's no
   way for a proper digital signature to be reproduced, but we can strip
   and re-sign with an ad-hoc signature reproducibly using this target
   for a decent compromise.

Related: #1585
2025-07-22 18:24:58 -07:00
2024-11-19 22:54:34 +01:00
2023-02-02 13:59:48 +00:00
2025-07-02 13:58:30 -07:00

MacVim logo
MacVim

Website · Documentation

MacVim GitHub CI GitHub release Packaging status

MacVim is a macOS version of the Vim text editor, providing a graphical user interface for Vim, while tightly integrating with macOS and providing features specific to the platform.


macvim-screenshot-light

Features

  • Smooth native GUI that supports menus, dialog boxes, toolbars, and scroll bars.
  • Native and non-native full-screen modes.
  • Trackpad gestures, Touch Bar, and Command key shortcuts can be mapped to Vim actions.
  • Integrates with system services, dictionary lookup, and Apple Intelligence Writing Tools.
  • Vim GUI tabs with customizable colors.
  • Font ligatures and accurate text rendering.

Getting Started

See installation documentation for more details and alternative methods to install.

Download

You can download the latest version of MacVim from the Releases page.

Install via Package Manager

If you would like to install using a package manager, MacVim can be installed via Homebrew:

brew install macvim

MacVim is also available as a Homebrew cask. It will install the same pre-built binary as the one available from GitHub release:

brew install --cask macvim-app

After installation, MacVim can be launched using the Dock or in the terminal using the mvim command.

Building from Source

If you prefer to build MacVim from source, detailed instructions are provided in the Building MacVim guide.

Relationship with Vim

MacVim is a downstream fork of Vim, and routinely merges from upstream. The original Vim README can be found at README_vim.md. Vim itself is also available for macOS, but it does not have a GUI.

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.

License

MacVim is released under the Vim License.

Support

If you encounter any issues or have questions, feel free to open an issue or visit the discussions page.

S
Description
Vim - the text editor - for macOS
Readme 251 MiB
Languages
Vim Script 52%
C 38.1%
Objective-C 3.1%
Roff 1.6%
Makefile 1.2%
Other 3.2%