Ever without any plugins still can working as similar features.
-
Clone to
$HOME/.config/vimgit clone https://github.com/yimjiajun/vim.git $HOME/.config/vim -
Install vim and requires packages:
./$HOME/.config/vim/features/install.sh -
Enjoy vim:
vim
manual installation
-
Download vim repository and enter the source code
git clone https://github.com/vim/vim.git /tmp/vim cd /tmp/vim/src -
Configure support python1 in vim and build the source code then install it
./configure --enable-pythoninterp --enable-python3interp make sudo make install
-
Restart Terminal and check the vim version
vim --version
-
either one
+pythonor+python3features should be included+1:vim --version | grep python
-
Clone to
$HOME/.config/vimgit clone https://github.com/yimjiajun/vim.git $HOME/.config/vim -
Export
vimcustomize vim configuration file path2
Source the script to active the environment variable.-
zsh shell:
echo "export VIMINIT='source $HOME/.config/vim/init.vim'" >> $HOME/.zshrc source $HOME/.zshrc
-
bash shell:
echo "export VIMINIT='source $HOME/.config/vim/init.vim'" >> $HOME/.bash_aliases source $HOME/.bashrc
-
-
Install vim plugins and install system dependencies package
vim +PlugInstall +qall vim +Install +qall