Installing Vundle for VIM
26,731
like @FDinoff said, you missed the stuff that should go in you .vimrc
.
here is how it could look like:
" vundle {{{1
" needed to run vundle (but i want this anyways)
set nocompatible
" vundle needs filtype plugins off
" i turn it on later
filetype plugin indent off
syntax off
" set the runtime path for vundle
set rtp+=~/.vim/bundle/Vundle.vim
" start vundle environment
call vundle#begin()
" list of plugins {{{2
" let Vundle manage Vundle (this is required)
"old: Plugin 'gmarik/Vundle.vim'
Plugin 'VundleVim/Vundle.vim'
" to install a plugin add it here and run :PluginInstall.
" to update the plugins run :PluginInstall! or :PluginUpdate
" to delete a plugin remove it here and run :PluginClean
"
" YOUR LIST OF PLUGINS GOES HERE LIKE THIS:
Plugin 'bling/vim-airline'
" add plugins before this
call vundle#end()
" now (after vundle finished) it is save to turn filetype plugins on
filetype plugin indent on
syntax on
you can check out my .vimrc
if you want (https://github.com/linluk/my-dot-files/blob/master/vimrc).
as described in the comments you need to install plugins after adding them to your .vimrc
steps to install a plugin
- add it to you
.vimrc
betweencall vundle#begin()
andcall vundle#end()
- save the
.vimrc
- type
<ESC>:PluginInstall<CR>
to update the plugins
- type
<ESC>:PluginInstall!<CR>
or<ESC>:PluginUpdate<CR>
to remove a plugin
- remove it from the
.vimrc
- save the
.vimrc
- type
<ESC>:PluginClean<CR>
Author by
Javittoxs
Updated on July 09, 2022Comments
-
Javittoxs almost 2 years
I can't Install Vundle
I've followed the instructions on GitHub;
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
and that's all... Here's the tree of cd .vim
├── bundle │ └── Vundle.vim │ ├── autoload │ │ ├── vundle │ │ │ ├── config.vim │ │ │ ├── installer.vim │ │ │ └── scripts.vim │ │ └── vundle.vim │ ├── changelog.md │ ├── CONTRIBUTING.md │ ├── doc │ │ └── vundle.txt │ ├── LICENSE-MIT.txt │ ├── README.md │ └── test │ ├── files │ │ └── test.erl │ ├── minirc.vim │ └── vimrc └── $MYVIMRC
7 directories, 13 files
and in .vimrc
set nocompatible " be iMproved filetype off
in order to edit .vimrc I used in vim:
:e $MYVIMRC
Can you help get Vundle installed?
-
BluePython about 8 yearsWhat is the line " Plugin 'gmarik/Vundle.vim' " doing? What is it calling?
-
BluePython about 8 yearsIt seems like now it can be changed to "VundleVim/Vundle.vim" since the repository has moved.
-
00prometheus over 7 yearsDid you run
:PluginInstall
command from inside vim after you added the plugin to your .vimrc? -
headbanger over 7 yearsfound out that I wanted to install a deprecated Plugin which didn't work properly.