ubuntu 16.04 Gnome develop Environment Setup <release>

Prepare:

1. install vim8.0 with python3+

复制代码
 1 sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev \
     libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
     libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \
     python3-dev ruby-dev liblua5.1 lua5.1-dev libperl-dev git
2 dpkg -l | grep vim 3 sudo apt-get remove vim-common vim-tiny 4 mkdir -p ~/src/tools && cd ~/src/tools && git clone https://github.com/vim/vim.git 5 cd vim
6 ./configure --with-features=huge \
            --enable-multibyte \
            --enable-rubyinterp=yes \
            --enable-pythoninterp=yes \
            --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \
            --enable-python3interp=yes \
            --with-python3-config-dir=/usr/lib/python3.5/config-3.5m-x86_64_linux-gnu \
            --enable-perlinterp=yes \
            --enable-luainterp=yes \
            --enable-gui=gtk2 --enable-cscope --prefix=/usr
7 make VIMRUNTIMEDIR=/usr/share/vim/vim80 8 sudo make install 10 sudo checkinstall
复制代码

2. Solarized Colorscheme for Gnome Terminal

git clone https://github.com/Anthony25/gnome-terminal-colors-solarized.git
cd gnome-terminal-colors-solarized
./install.sh
set_dark.sh
#or
set_light.sh

Now any plugins you wish to install can be extracted to a subdirectory under ~/.vim/bundle, and they will be added to the 'runtimepath'


3. follow me:

https://github.com/prefree/gnome-vim-dotfile

 4. YouCompleteMe full installation guide :

https://github.com/Valloric/YouCompleteMe

 5. YouCompleteMe simple install <not recommend>:

sudo apt-get install cmake
cd ~/.vim/bundle/YouCompleteMe/
./install.py --clang-completer

 

posted on 2017-12-10 19:31  sdqushida2006  阅读(115)  评论(0编辑  收藏  举报

导航