安装vim插件

Theory:
	When Vim start, it first process .vimrc file; Then scans all directories in ~/.vim for plugins contained in pack/*/start 

1、install vim plugins and auto loading:
	(1) create directory:
		mkdir -p ~/.vim/pack/vendor/start
	(2) install plugin
		git clone --depth 1 https://github.com/preservim/nerdtree.git ~/.vim/pack/vendor/start/nerdtree
		
2、install vim plugins and manually loading:
	(1) create directory:
		mkdir -p ~/.vim/pack/vendor/opt
	(2) install plugin 
		git clone --depth 1 https://github.com/preservim/nerdtree.git ~/.vim/pack/vendor/opt/nerdtree
	(3) manually loading in vim command mode
		:packadd nerdtree
	

 

上一篇:你的第一个 GUI 程序——Tkinter教程系列02


下一篇:2021-07-10