This setting is for below list.
- coding a python program.
- write support to create table of reStructuredText format.
Need to some extarnal modules for this settings
mkdir -p ~/.vim/tmp
Download neobundle.vim via git
mkdir -p ~/.vim/bundle
git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
This setting needs vim that was made with +python3 option.
CONFIGURE_OPTS="--enable-shared" pyenv install 2.7.13
CONFIGURE_OPTS="--enable-shared" pyenv install 3.6.3
pyenv global 2.7.13 3.6.3
git clone https://github.com/vim/vim.git
cd vim
LDFLAGS="-Wl,-rpath=${HOME}/.pyenv/versions/2.7.13/lib:${HOME}/.pyenv/versions/3.6.3/lib" ./configure --enable-pythoninterp=dynamic --enable-python3interp=dynamic --enable-multibyte --enable-fontset --with-features=huge --prefix=/opt/vim
make
sudo make install
Becareful, If you change pyenv root dir chenged.
Installing pyenv and pyenv-virtualenv
git clone https://github.com/yyuu/pyenv.git ~/.pyenv
git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
echo 'export PYENV_ROOT=$HOME/.pyenv' >> ~/.bash_profile
echo 'export PATH=$PYENV_ROOT/bin:$PATH' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bash_profile
sudo yum install -y zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel
Installing rbenv
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
Reload configuration
source ~/.bash_profile