We started to rewrite VimR with a NeoVim-backend.
This is a fork of https://github.com/b4winckler/macvim. I made some modifications such that you can compile a Framework with which you can use MacVim-view in your own Apps. It does not have a well-thought-out Framework design due to the fact that I wanted to make the absolute minimal amount of modifications to the original code base. However, there is room for improvements and I'll add them gradually.
An (absolute minimal) example App (MinimalMacVim
) is included. You can also have a look at Project VimR for a real usage of this framework.
Go to project root and do the following:
cd src
./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-cscope
make
Open the Xcode project MacVim.xcodeproject
in src/MacVim
and build the MacVimFramework
target.
- Add
@loader_path/../Frameworks
toRuntime Search Paths
- Link and copy
PSMTabBarControl.framework
which is included with the project. - Link and copy
MacVimFramework.framework
Examine the target MinimalMacVim
. It essentially has only one class—MMAppDelegate
—that handles everything.