Skip to content

dokenzy/macvim

 
 

Repository files navigation

Vim - the text editor - for Mac OS X

Build

  1. cd src
  2. ./configure --with-features=huge --enable-rubyinterp --enable-perlinterp --enable-python3interp --with-python3-config-dir=MY_PYTHON3_CONFIG_DIR
  3. make

How to find MY_PYTHON3_CONFIG_DIR

If you are using python3.4: python3.4-config --configdir

You will get like this path: /usr/local/opt/pyenv/versions/3.4.3/lib/python3.4/config-3.4m

Resolve error while running make command

If you get this error:

ERROR: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

then,

  1. run XCode
  2. open Preferences > Locations
  3. Select an item in Command Line Tools

Run

cd MacVim/build/Release/MacVim.app

run in terminal

  1. run
    ln -s /Applications/MacVim.app/Contents/bin/mvim /usr/local/bin/mvim
    
  2. set alias in your shell rc file like ~/.zshrc:
    alias vi="/usr/local/bin/mvim"
    

reference https://github.com/macvim-dev/macvim/wiki/FAQ

VIMRC

font

To use webdevicon with airline-powerline, set like this: set guifont=Roboto\ Mono\ Light\ Nerd\ Font\ Complete\ Mono:h13

this requires customized font. Download and install you want: https://github.com/dokenzy/nerd-fonts

About

Vim - the text editor - for Mac OS X

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 45.2%
  • Vim Script 43.5%
  • Objective-C 4.2%
  • Roff 1.7%
  • Makefile 1.6%
  • C++ 1.2%
  • Other 2.6%