---
title: "vim插件配置"
description: "安装Vundle"
canonical_url: "https://yangqiuyi.com/blog/linux/vim-cha-jian-pei-zhi"
---

> Index of every page on this site: [llms.txt](https://yangqiuyi.com/llms.txt)

安装Vundle

```sh
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
```

打开vim的配置文件:`.vimrc`

```sh
vim ~/.vimrc
```

在最上方加上

```sh
set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'preservim/nerdtree'

call vundle#end()            " required
filetype plugin indent on    " required
```

保存并退出，之后进入vim，使用指令`:PluginInstall`

## Sitemap

See the full [sitemap](https://yangqiuyi.com/sitemap.md) for all pages.
