Configure File for Building Vim From Source


I recently needed to rebuild vim from source.

Mostly people download the latest using Homebrew, but sometimes you might need to build it from source.

It’s simple enough. Clone the git repo.

We then create a file that we’ll pass to the shell. It’s basically a convenient way to execute a really long command. Here’s my file. I called it

./configure --enable-multibyte \
--enable-perlinterp=dynamic \
--enable-rubyinterp=dynamic \
--enable-pythoninterp=dynamic \
--enable-python3interp=dynamic \
--enable-cscope \
--enable-gui=auto \
--with-features=huge \
--without-x \
--enable-fontset \
--enable-largefile \
--disable-netbeans \
--with-compiledby="" \

After that, run sh && make && make install and you’ll be back undeway in no time. Hat tip to Arophix.