Our Customers

新闻资讯

VIM的插件的安装使用

发布时间 : 2021/04/15
浏览次数 : 688
文章来源 : 合众启航

1:安装  Vundle(管理插件的工具)

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


2:安装插件

//打开vim的配置
vim ~/.vimrc
//配置插件以及安装
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
//配置完毕后命令行执行
vim +PluginInstall +qall


18049412926