1. Install mercruial for supporting to clone vim (hg clone https://vim.googlecode.com/hg/ vim)
sudo apt-get install mercurial
2. check dependence and install library if any, for example 'ncurses'
./configure
sudo apt-get install libncurses5-dev
3. clone and make
(you can alternatively find and install the gVim in Ubuntu software center)
hg clone https://vim.googlecode.com/hg/ vim
sudo make distclean (clean)
sudo apt-get updata (update system file)
cd vim/src
sudo make
sudo make install
export PATH=$PATH:{~/vim}
4. install vim configuration (spf13)
sudo apt-get install git
curl http://j.mp/spf13-vim3 -L -o - | sh
没有评论:
发表评论