插件管理器vim-plug的安裝
在https://github.com/junegunn/vim-plug
下載插件,放入~/.vim/autoload
git clone https://github.com/junegunn/vim-plug.git
cp vim-plug/plug.vim ~/.vim/autoload/
安裝插件
1.在~/.vimrc
中添加如下配置:
call plug#begin('~/.vim/plugged')
Plug 'iamcco/mathjax-support-for-mkdp'
call plug#end()
2.在vim中運行:PlugInstall
命令安裝插件,:PlugStatus
查看插件狀態