vim插件安装 及 使用NERDTree分屏

VIM的插件

安装:

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



使用:

猜你喜欢

转载自blog.csdn.net/qq_33862644/article/details/80545654