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


使用:
来回切换,是连按俩下ctrl + w

本文介绍如何通过vundle管理工具安装并配置VIM插件,包括ctrlp.vim、nerdtree及vim-template等实用插件。通过具体步骤指导读者完成配置,并演示如何在VIM中使用这些插件提高编辑效率。
770

被折叠的 条评论
为什么被折叠?



