My powerful vimrc config. See the directory bundle to inspect plugins.
Make dir:
cd ~
mkdir .vim
cd .vim
Clone recursively from this repository:
git clone --recurse-submodules git@github.com:zhuxinqimac/vimrc_mine.git .
Link config file to ~/.vimrc. Absolute paths may be required:
ln -s ~/.vim/vimrc ~/.vimrc
If color theme is not working well with tmux, try close all tmux sessions, and insert the following line to ~/.tmux.conf:
set -g default-terminal "screen-256color"
and add the following line to ~/.bashrc:
export TERM=screen-256color
Then restart tmux.
Insert the following line to ~/.tmux.conf:
setw -g mode-keys vi
Use the following line:
sudo apt-get install ruby vim-nox
Go to the CommandT plugin directory, type
sudo apt-get install rake
rake make
If it shows error related to "ruby-dev", do
sudo apt-get install ruby-dev
Then rake make again.
For Python, you need to install flake8 first:
sudo apt-get install python3-flake8
Or install pylint:
conda install pylint
check https://github.com/vim-syntastic/syntastic
For Python, you need to install yapf first
conda install yapf
check https://github.com/Chiel92/vim-autoformat
You should compile first
sudo apt install build-essential cmake3 python3-dev
cd ~/.vim/bundle/YouCompleteMe
python3 install.py
check https://github.com/Valloric/YouCompleteMe
Put this line in ~/.inputrc
set editing-mode vi