解決python>2.7 問題
sudo apt-get install python-dev
sudo apt-get install gettext
我的VIM安裝步驟中這裏做一下記錄.
1. 必須要先安裝Git
2. 把這.vimrc .vim 覆蓋原先的 ~下面的文件
vim74
vim 重新編譯命令
./configure --prefix=/usr --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-luainterp --with-lua-prefix=/usr/local --with-python-config-dir=/usr/lib/python2.7/config
1. YoucompleteMe 插件需要手動安裝
git submodule update --init --recursive
./install.sh --clang-completer // 這個是安裝C語言的, php 的好像還沒有
2. tabular
對齊的
3. ctags 手動安裝
4. vim-airline
方法在 http://chinacheng.iteye.com/blog/1935564
需要添加補丁字體
https://github.com/Lokaltog/powerline-fonts
#字體複製到下面這個目錄(或者自定義)
~/.fonts/
#執行下面命令,加載字體
fc-cache -vf ~/.fonts
#第三步:設置terminal字體,打開terminal -> 編輯 -> 配置文件首選項 -> 常規 -> 選擇新添加的powerline的字體
ctags -I __THROW -I __attribute_pure__ -I __nonnull -I __attribute__ --file-scope=yes --langmap=c:+.h --languages=c,c++ --links=yes --c-kinds=+p --c++-kinds=+p --fields=+iaS --extra=+q -f ~/.vim/systags /usr/include/* /usr/include/sys/* /usr/include/bits/* /usr/include/netinet/* /usr/include/arpa/* /usr/local/mysql/include/*
vim 重新編譯命令
./configure --prefix=/usr --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-luainterp --with-lua-prefix=/usr/local --with-python-config-dir=/usr/lib/python2.7/config
解決python>2.7 問題
sudo apt-get install python-dev
sudo apt-get install gettext
http://www.cnblogs.com/spch2008/p/4593370.html
http://www.cnblogs.com/spch2008/p/4593372.html
先安裝readline
ncurses
lua 安裝
make linux
sudo make install