Skip to content

Instantly share code, notes, and snippets.

@ammarnajjar
Last active June 24, 2016 09:04
Show Gist options
  • Save ammarnajjar/dd612a063194adea8699667f0c9161e1 to your computer and use it in GitHub Desktop.
Save ammarnajjar/dd612a063194adea8699667f0c9161e1 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo dnf install ncurses ncurses-devel -y
cd ~
git clone https://github.com/vim/vim.git /tmp/vimsrc
cd /tmp/vimsrc
CFLAGS+="-O -fPIC -Wformat" ./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp \
--enable-python3interp \
--with-python3-config-dir=/usr/lib/python3.5/config \
--enable-perlinterp \
--enable-luainterp \
--enable-gui=auto --enable-cscope --prefix=/usr/local
make VIMRUNTIMEDIR=/usr/local/share/vim/vim74
sudo make install
# Show Result
vim --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment