Update OSX Vim with MacVim

I am trying to update Vim (for use in a terminal) on my Mac. It currently runs version 7.3, but YouCompleteMe requires Vim 7.3.584 and will not work even if it is installed.

I tried using the Vim alias in my .bash_profile:

alias vim='/Users/Conor/Applications/MacVim.app/Contents/MacOS/Vim'

However, none of my Vim plugins start when I launch Vim so any of my vimrc files are also not recognized.

How can I get this alias to find out my existing Vim settings? Or is there a better way to update Vim for mac?

+3
source share
3 answers

*.tbzThe one you downloaded from the official page contains a mvimscript.

script - $PATH, MacVim :

$ mvim filename

CLI MacVim:

$ mvim -v filename

, mvim:

alias vim='mvim -v'

Vim , MacVim , MacVim.app, ( , , : ~/.vimrc ~/.vim/).

, .

+3

MacVim HomeBrew,

brew install macvim --override-system-vim
+1

If you just need pure vim with python support, follow these steps:

brew install vim --override-system-vim --HEAD

I had the same problem as you, but it worked like a charm. After that, you change me perfectly.

+1
source

All Articles