vim 優化版本:VimR

jopen 10年前發布 | 22K 次閱讀 VimR

VimR 是專門針對 Mac 上對 vim 編輯器進行優化的版本。

How to Build

First, clone the submodules:

$ git submodule update --init

Then, build the macvim submodule: Assuming you're in the project root

$ cd macvim/src
$ ./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-cscope
$ make

We use CocoaPods to include other open source libraries, eg OCHamcrest and TBCacao. Thus, install CocoaPods and do the following in the project root

$ sudo gem install cocoapods    # only if you haven't yet installed CocoaPods
$ pod install

Then, either open the VimR.xcworkspace file and run the VimR scheme or do the following in the project root

$ xcodebuild -workspace VimR.xcworkspace -configuration Release -scheme VimR -derivedDataPath ./build clean build

In case you used the above xcodebuild command, the VimR.app will be in build/Build/Products/Release.

From time to time, we'll edit some files of macvim that are not registered in the macvim/src/MacVim/MacVim.xcodeproj file like macvim/src/MacVim/MMBackend.m. In this case we have to make macvim again, ie it does not suffice to recompile VimR (or macvim/src/MacVim/MacVim.xcodeproj).

vim 優化版本:VimR

項目主頁:http://www.baiduhome.net/lib/view/home/1400577444862

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!