MacVim is a port of the text editor Vim to Mac OS X.
MacVim supports multiple windows with tabbed editing and a host of other features such as:
bindings to standard OS X keyboard shortcuts (⌘Z, ⌘V, ⌘A, ⌘G, etc.), transparent backgrounds, full-screen mode, multibyte editing with OS X input methods and automatic font substitution, ODB editor support, and more. Most importantly, MacVim brings you the full power of Vim 7.2 to Mac OS X.
Note: MacVim is in no way connected with http://macvim.org. That site is no longer being maintained and only provides outdated binaries of the old Carbon port of Vim.
Snow LeopardMacVim now builds as 64 bit by default on Snow Leopard (10.6). I simplified the build process as well, so check out the Building wiki page on how to build your own binary.
The stable build seems to run fine on Snow Leopard, but please consider using a snapshot instead as they are built specifically for Snow Leopard (the snapshot also runs on Leopard).
DownloadThere are two official binaries of MacVim to choose from:
Stable: The latest stable release is MacVim 7.2 stable 1.2 which was released on the 21st of August 2008. It is a universal binary which runs on Mac OS X 10.4 and 10.5. Mac OS X 10.6 ("Snow Leopard") seems to work fine as well but I strongly suggest using the latest snapshot build on Snow Leopard. Snapshot: A new snapshot is released every month or so and contains several features and bug-fixes which have not yet been included in the stable build. The latest version can be downloaded here. If the download fails for some reason then try using the download mirror.
You may also build your own version from the source code. Please consider contributing to the MacVim project if you are able.
MacVim is distributed free as charityware (type :h license inside MacVim for details). If you find MacVim a useful addition to your life please consider helping needy children in Uganda.
Getting startedThe book A Byte of Vim is freely available online and is suitable for newcomers as well as more experienced users of Vim. Another freely available online book is Vim Recipies which serves as a cookbook where you can look up different ways to perform a specific task.
There are also several Vim tutorials available online, such as this Vim introduction and tutorial. Once familiar with the basics you may benefit from using the following article on Efficient Editing With Vim as a quick reference. Before diving into all that material, you may want to read the article "Why use Vim?" which dispels common misconceptions about Vim and also provides examples which illustrate some of its many features.
Vim comes bundled with a tutor which can be quite helpful to go through since it encourages you to experiment as you read. At the moment it requires some trickery to get going, but once there it should be easy to follow. The tutor is a text file which needs to be copied to a folder where it can be modified. To copy the tutor to your home folder, open MacVim and type (make sure you are in normal mode first by hitting Esc):
:!cp $VIMRUNTIME/tutor/tutor ~/then hit enter. This will place a file named tutor in your home folder. Now, to start the tutor simply open that file in MacVim, e.g. by pressing ⌘O to show the file open dialog and then browsing to the tutor file.
How to get helpThere is a fairly active mailing list called vim_mac where you can post questions about MacVim and request new features. Before posting a question, you should consult the FAQ, search the vim_mac archives, and consult the built-in Vim help by typing :h macvim inside MacVim.
Since the binary releases always are a couple of versions behind the source code it is also possible that any problems you encounter may already have been fixed. Check the change log for the latest updates to the source code.
Help me!If you find a bug, then please file an Issue report but first make sure that it has not already been reported by searching for old Issues. Unless you are absolutely sure that you have really found a bug you should probably post a question on the vim_mac mailing list first. (Note that there are several people answering questions on the mailing list whereas there is only one of me responding to Issue reports.)
|Bram Moolenaar||Bjorn Winckler|
|Björn Winckler||Felix Bünemann|