Ubuntu compilation Vim+lua

Source: Internet
Author: User
Tags lua git clone

Reference: https://www.cnblogs.com/DillGao/p/6268165.html

$ sudo apt-get remove--purge vim$ sudo apt-get autoclean$ sudo apt install python-dev python3-dev ruby-dev Luajit liblua5 .1-dev libluajit-5.1 libperl-dev libncurses5-dev$ sudo rm-rf/usr/local/share/vim$ sudo rm/usr/bin/vim$ sudo mkdir-p/u sr/include/lua5.1/include$ sudo cp/usr/include/lua5.1/*.h/usr/include/lua5.1/include/$ cd ~$ git clone--depth 1 https: github.com/vim/vim.git$ CD ~/vim/src$ make distclean$./configure--with-features=huge--enable-largefile-- Enable-multibyte--enable-perlinterp--enable-rubyinterp--enable-luainterp--enable-python3interp-- With-python3-config-dir=/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu--with-luajit--enable-fail-if-missing-- with-lua-prefix=/usr/include/lua5.1--enable-cscope--enable-gui=auto Note: Python3 and Python are given at the same time, Priority will use Python--enable-pythoninterp--with-python-config-dir=/usr/lib/python2.7/config $ make-j8$ sudo make install$ Whereis Vimvim:/usr/local/bin/vim/usr/share/man/man1/vim.1$ vim--version Install spf13-vim$ Curl http://j.Mp/spf13-vim3-l-O-| SH or $ curl Https://raw.githubusercontent.com/spf13/spf13-vim/3.0/bootstrap.sh-L-O-| SH will appear amirh/html-autoclosetag error (hint is to log on to GitHub), press CTRL+W,JJ to skip this error after installing all $ vim ~/. Vimrc.bundles find Amirh, replace with Okayliao, save exit and reinstall the plugin again with the following command. $ vim +bundleinstall! +bundleclean +q

Ubuntu compilation Vim+lua

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.