Vundle.vim README

The project's README from github.com/VundleVim/Vundle.vim. As one markdown file: README.md.

Help Maintain Vundle

Table of Contents

About

Vundle is short for Vim bundle and is a Vim plugin manager.

Vundle allows you to...

Vundle automatically...

Vundle is undergoing an interface change, please stay up to date to get latest changes.

Gitter-chat for discussion and support.

Vundle-installer

Quick Start

  1. Introduction:

    Installation requires Git and triggers git clone for each configured repository to ~/.vim/bundle/ by default. Curl is required for search.

    If you are using Windows, go directly to Windows setup. If you run into any issues, please consult the FAQ. See Tips for some advanced configurations.

    Using non-POSIX shells, such as the popular Fish shell, requires additional setup. Please check the FAQ.

  2. Set up Vundle:

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

    Put this at the top of your .vimrc to use Vundle. You may have to create a .vimrc file if it doesn't already exist at ~/.vimrc. Remove plugins you don't need, they are for illustration purposes.

    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'
    
    " The following are examples of different formats supported.
    " Keep Plugin commands between vundle#begin/end.
    " plugin on GitHub repo
    Plugin 'tpope/vim-fugitive'
    " plugin from http://vim-scripts.org/vim/scripts.html
    " Plugin 'L9'
    " Git plugin not hosted on GitHub
    Plugin 'git://git.wincent.com/command-t.git'
    " git repos on your local machine (i.e. when working on your own plugin)
    Plugin 'file:///home/gmarik/path/to/plugin'
    " The sparkup vim script is in a subdirectory of this repo called vim.
    " Pass the path to set the runtimepath properly.
    Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
    " Install L9 and avoid a Naming conflict if you've already installed a
    " different version somewhere else.
    " Plugin 'ascenator/L9', {'name': 'newL9'}
    
    " All of your Plugins must be added before the following line
    call vundle#end()            " required
    filetype plugin indent on    " required
    " To ignore plugin indent changes, instead use:
    "filetype plugin on
    "
    " Brief help
    " :PluginList       - lists configured plugins
    " :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
    " :PluginSearch foo - searches for foo; append `!` to refresh local cache
    " :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
    "
    " see :h vundle for more details or wiki for FAQ
    " Put your non-Plugin stuff after this line
    
  4. Install Plugins:

    Launch vim and run :PluginInstall

    To install from command line: vim +PluginInstall +qall

  5. (optional) For those using the fish shell: add set shell=/bin/bash to your .vimrc

Docs

See the :h vundle Vimdoc for more details.

Changelog

See the changelog.

People Using Vundle

see Examples

Contributors

see Vundle contributors

Thank you!

Inspiration & Ideas

Also

TODO

Vundle is a work in progress, so any ideas and patches are appreciated.

Vundle.vim (VundleVim/Vundle.vim)

Searching Database…

这是什么?Vundle(全称 Vim bundle)是一个 Vim 插件管理器,让你可以在 .vimrc 中声明插件,然后安装、更新、搜索或清理这些插件。
它是独立应用,还是 Vim 插件本身?它是一个 Vim 插件(.vim 脚本),用来管理你的其他 Vim 插件;没有单独的应用程序,所有操作都在 Vim 内部完成。
我该怎么把它运行起来?用 git 把 Vundle 克隆到 ~/.vim/bundle/Vundle.vim,然后在 .vimrc 顶部添加 Vundle 的配置代码块以及你的插件列表,接着启动 Vim 并运行 :PluginInstall(或者在命令行中执行 vim +PluginInstall +qall)。
除了安装 Vim,还需要别的东西吗?需要 Git,因为所有插件都是通过 git clone 安装的;如果想使用搜索功能,还需要额外安装 Curl。
有哪些设置上的坑需要注意?Windows 用户应该参考单独的 Windows 安装指南,而不是按照标准步骤操作;如果使用 Fish shell,则需要额外配置,通常是在 .vimrc 中添加 set shell=/bin/bash。
在 macOS、Linux 和 Windows 上使用效果一样吗?是的,Vundle 是在 OS X、Linux 和 Windows 上使用 Vim 7.3 开发和测试的。
Vundle 会在 Vim 中添加哪些命令?它会添加一些命令,比如 :PluginInstall 用于安装已配置的插件,:PluginUpdate 用于更新插件,:PluginSearch 用于按名称查找 Vim 脚本,:PluginClean 用于删除不再使用的插件;此外还提供交互模式,只需按一个键即可运行上述所有操作。
编辑 .vimrc 后,Vundle 会自动重新加载插件吗?会的,新添加的插件包会在重新加载 .vimrc 或运行 :PluginInstall 后激活;安装或更新后,Vundle 还会自动重新生成帮助标签。
Vundle 的设计灵感来自哪里?它借鉴了 pathogen.vim 和 Bundler 的思路,并力求做到尽可能 KISS(Keep It Simple, Stupid,保持简单)。
已安装的插件实际存放在哪里?默认情况下,插件会通过 git clone 存放在 ~/.vim/bundle/ 目录中。
What are similar projects?vim-plug, vim-pathogen, lazy.nvim, vimrc, vim-fugitive, yazi, tpm, neovim
Creator
VundleVim
Size
0.9 MB
Stars
23.9K
Updated
CommitJul 30
Age
16y
Commits · 90 Days