, ingo... zerd- ~/.vim ~/.vim ~/.vim.
vim, Plug ( , vim). https://github.com/junegunn/vim-plug/. .
, , . - ~/.vim/plug_plugins/
Plug - https://github.com/junegunn/vim-plug/blob/master/README.md, .. plug.vim ~/.vim/autoload
, , ~/.vim/autoload, , plug.vim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs\
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim '
, vimrc.
readme, , , . , .
call plug
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
call plug
VIMRC,
: PlugInstall, NERDTree,
nerdtree ~/.vim/plug_plugins , , zip .
and you can verify that it is installed with :NERDTreewhich also launches it.
You can also run: PlugStatus to show which plugins are installed.
If you look at the readme for Plug, you will see that it lists NERDTree, although at the time of writing, the ger NERDTree page did not mention Plug in its readme. A readme file with a plugin is better for installing nerdtree in a plug-in than a readme file with nerdtree.
And this line helps as a shortcut to run. nnoremap <leader>ne :NERDTree <cr>