This repo called oh-my-config is a configuration of Mac and Linux OS, and includes the config of vim and tmux.
Follow these steps:
git clone https://github.com/laizhiping/.oh-my-config.git
cd .oh-my-config
git submodule update --init
./local_install.sh
cd .vim/plugged/YouCompleteMe
python3 install.py
If you finish them, oh-my-config is installed, just enjoy it.