NERDTree安装

    xiaoxiao2022-06-24  227

    转自https://blog.csdn.net/qq_33862644/article/details/80545654

    安装:

    1、下载vundle(管理插件工具)

    git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

    注意:~开始是下载到哪,我这里下载到了家目录

    2、修改配置文件

    //1、打开vim的配置 vim ~/.vimrc //2、配置插件以及安装 set nocompatible filetype off map <C-n> :NERDTreeToggle<CR> set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'https://github.com/kien/ctrlp.vim.git' Plugin 'https://github.com/scrooloose/nerdtree.git' Plugin 'https://github.com/aperezdc/vim-template.git' call vundle#end() filetype plugin indent on

    3、配置完,执行 vim +PluginInstall +qall


    最新回复(0)