Skip to content
This repository has been archived by the owner on Jul 18, 2018. It is now read-only.

qvacua/macvim-for-old-vimr

 
 

Repository files navigation

Obsolete

We started to rewrite VimR with a NeoVim-backend.

MacVimFramework

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.

How to Build

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.

How to Use

Build Settings

  • Add @loader_path/../Frameworks to Runtime Search Paths

Build Phases

  • Link and copy PSMTabBarControl.framework which is included with the project.
  • Link and copy MacVimFramework.framework

Example Code

Examine the target MinimalMacVim. It essentially has only one class—MMAppDelegate—that handles everything.

About

MacVimFramework — Framework version of MacVim

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 48.1%
  • Vim Script 40.8%
  • Objective-C 4.6%
  • Roff 1.9%
  • Makefile 1.7%
  • C++ 0.8%
  • Other 2.1%