Operating system: debian8.
My vim is installed like this.
sudo apt-get install vim
安装完成后,所有的文件在这里
/usr/share/vim/vim74
根本没有什么.vim文件。
当我安装emmet时,如何安装?
1.方式1
1.1下载emmet并解压
1.2 cd /home/debian8/Downloads/emmet-vim-master/plugin
1.3 sudo copy * /usr/share/vim/vim74/plugin
1.4 cd /home/debian8/Downloads/emmet-vim-master/autoload
1.5 sudo copy -r * /usr/share/vim/vim74/autoload
2.方式2
1.1下载emmet并解压,创建相关文件夹
mkdir /home/debian8/.vim
mkdir /home/debian8/.vim/plugin
mkdir /home/debian8/.vim/autoload
1.2 cd /home/debian8/Downloads/emmet-vim-master/plugin
1.3 sudo copy * /home/debian8/.vim/plugin
1.4 cd /home/debian8/Downloads/emmet-vim-master/autoload
1.5 sudo copy -r * /home/debian8/.vim/autoload
Excuse me, which installation method is 1 or 2?
The second way. Personal settings should be placed in the user directory as much as possible.
It is not recommended to use methods other than package management to manage system areas.
Vim can also have a package manager, but you have to learn another tool, and the more you learn, the further you go. .