Vundle.vim: Installed plugins not loading

Created on 11 Dec 2015  路  16Comments  路  Source: VundleVim/Vundle.vim

Hi,

I've installed Vundle and few other Plugins using PluginSearch and PluginInstall

:PluginList

" My Plugins
Plugin 'VundleVim/Vundle.vim'
Plugin 'bling/vim-airline'
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-fugitive'

~/.vim/bundle

Gregor@HomePC ~/.vim/bundle
$ ll
total 20
drwxr-xr-x 1 Gregor 197121 0 Dec 11 17:52 .vundle
drwxr-xr-x 1 Gregor 197121 0 Dec 11 17:56 fugitive.vim
drwxr-xr-x 1 Gregor 197121 0 Dec 11 18:34 nerdtree
drwxr-xr-x 1 Gregor 197121 0 Dec 11 17:53 The-NERD-tree
drwxr-xr-x 1 Gregor 197121 0 Dec 11 18:01 vim-airline
drwxr-xr-x 1 Gregor 197121 0 Dec 11 18:38 vim-fugitive
drwxr-xr-x 1 Gregor 197121 0 Dec 11 17:49 Vundle.vim

.vimrc:

" Setting some decent VIM settings for programming

set ai                          " set auto-indenting on for programming
set showmatch                   " automatically show matching brackets. works like it does in bbedit.
set vb                          " turn on the "visual bell" - which is much quieter than the "audio blink"
set ruler                       " show the cursor position all the time
set laststatus=2                " make the last line where the status is two lines deep so you can see status always
set backspace=indent,eol,start  " make that backspace key work the way it should
set nocompatible                " vi compatible is LAME
set background=dark             " Use colours that work well on a dark background (Console is usually black)
set showmode                    " show the current mode
set clipboard=unnamed           " set clipboard to unnamed to access the system clipboard under windows
syntax on                       " turn syntax highlighting on by default

filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'bling/vim-airline'
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-fugitive'


" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required


" Show EOL type and last modified timestamp, right after the filename
set statusline=%<%F%h%m%r\ [%{&ff}]\ (%{strftime(\"%H:%M\ %d/%m/%Y\",getftime(expand(\"%:p\")))})%=%l,%c%V\ %P

"------------------------------------------------------------------------------
" Only do this part when compiled with support for autocommands.
if has("autocmd")
    "Set UTF-8 as the default encoding for commit messages
    autocmd BufReadPre COMMIT_EDITMSG,git-rebase-todo setlocal fileencodings=utf-8

    "Remember the positions in files with some git-specific exceptions"
    autocmd BufReadPost *
      \ if line("'\"") > 0 && line("'\"") <= line("$")
      \           && expand("%") !~ "COMMIT_EDITMSG"
      \           && expand("%") !~ "ADD_EDIT.patch"
      \           && expand("%") !~ "addp-hunk-edit.diff"
      \           && expand("%") !~ "git-rebase-todo" |
      \   exe "normal g`\"" |
      \ endif

      autocmd BufNewFile,BufRead *.patch set filetype=diff
      autocmd BufNewFile,BufRead *.diff set filetype=diff

      autocmd Syntax diff
      \ highlight WhiteSpaceEOL ctermbg=red |
      \ match WhiteSpaceEOL /\(^+.*\)\@<=\s\+$/

      autocmd Syntax gitcommit setlocal textwidth=74
endif " has("autocmd")

:echo &rtp

/c/Users/Gregor/.vim,/c/Users/Gregor/.vim/bundle/Vundle.vim,/c/Users/Gregor/.vim/bundle/vim-airline,/c/Users/Gregor/.vim/bundle/nerdtree,/c/Users/Gregor/.vim/bundle/vim-fugitive,/usr/share/vim/vimfiles,/usr/share/vim/vim74,/usr/share/vim/vimfiles/after,/c/Users/Gregor/.vim/after,/c/Users/Gregor/.vim/bundle/Vundle.vim,/c/Users/Gregor/.vim/bundle/Vundle.vim/after,/c/Users/Gregor/.vim/bundle/vim-airline/after,/c/Users/Gregor/.vim/bundle/nerdtree/after,/c/Users/Gregor/.vim/bundle/vim-fugitive/after

No errors, everything looks to be okay... but the plugins aren't loading :// Can someone help me find the problem?

Thank you :)

Most helpful comment

@newwtron54 adding call vundle#end() at the end of the Plugin call fixed my problem. Hope this can help you too.

All 16 comments

Same problem on Ubuntu 14.04. scriptnames doesn't contain installed plugins until :PluginInstall, but it's not a persistent way. It doesn't even work with minimal config.
P.S. After completely reinstalling vim and Vundle it works.

@nfischer yes, it's fixed, thanks

This happens on every new install I do. I have to run :PluginInstall before any of the plugins are available (every time I open vim)

Yes, I'm aware. I was saying this is the only way I have been able to get my plugins to be recognized. I'll do some more poking around with it this evening.

I have same problem like @nobleach.

Just a quick question @frizik, where is your call vundle#end() in your .vimrc?

I had neglected that in mine. Looks like it's working just fine now. I had upgraded from an old version.

After adding into .vimrc run this command in terminal
vim +PluginInstall +qall

Just checking in...

@lordgreg, @frizikk are you still having issues?

solved my own issue, see below, listed Plugins twice opps.

I'm having a similar/exact issue.
.vimrc:

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 'gmarik/Vundle.vim'

Plugin 'thoughtbot/vim-rspec'
Plugin 'jgdavey/tslime.vim'
Plugin 'christoomey/vim-tmux-navigator'

call vundle#end()

Then I run PluginInstall, however list does not change or update. vim-tmux-navigator is missing.
PlugingList:

Plugin 'gmarik/Vundle.vim'
Plugin 'altercation/vim-colors-solarized'
Plugin 'christoomey/vim-run-interactive'
Plugin 'jiangmiao/auto-pairs'
Plugin 'croaky/vim-colors-github'
Plugin 'kchmck/vim-coffee-script'
Plugin 'kien/ctrlp.vim'
Plugin 'pbrisbin/vim-mkdir'
Plugin 'scrooloose/syntastic'
Plugin 'slim-template/vim-slim'
Plugin 'thoughtbot/vim-rspec'
Plugin 'tpope/vim-bundler'
Plugin 'tpope/vim-endwise'
Plugin 'tpope/vim-eunuch'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-rails'
Plugin 'tpope/vim-repeat'
Plugin 'tpope/vim-surround'
Plugin 'vim-ruby/vim-ruby'
Plugin 'vim-scripts/ctags.vim'
Plugin 'vim-scripts/matchit.zip'
Plugin 'vim-scripts/tComment'

Update I have a .vimrc.bundles that file contains this list of plugins, however the .vimrc is not set to user that right? Because the lines bellow are commented out and a path is not provided. Furthermore when I edit the list in .bundles plugins are not changed

" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

SOLVED

I had this line in .vimrc

if filereadable(expand("~/.vimrc.bundles"))
  source ~/.vimrc.bundles
endif

which looked like this:

if &compatible
  set nocompatible
end

filetype off
set rtp+=~/.vim/bundle/Vundle.vim/
call vundle#begin()

" Let Vundle manage Vundle
Plugin 'gmarik/Vundle.vim'

" Define bundles via Github repos
Plugin 'altercation/vim-colors-solarized'
Plugin 'christoomey/vim-run-interactive'
Plugin 'christoomey/vim-tmux-navigator'
Plugin 'jiangmiao/auto-pairs'
Plugin 'croaky/vim-colors-github'
Plugin 'kchmck/vim-coffee-script'
Plugin 'kien/ctrlp.vim'
Plugin 'pbrisbin/vim-mkdir'
Plugin 'scrooloose/syntastic'
Plugin 'slim-template/vim-slim'
Plugin 'thoughtbot/vim-rspec'
Plugin 'tpope/vim-bundler'
Plugin 'tpope/vim-endwise'
Plugin 'tpope/vim-eunuch'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-rails'
Plugin 'tpope/vim-repeat'
Plugin 'tpope/vim-surround'
Plugin 'vim-ruby/vim-ruby'
Plugin 'vim-scripts/ctags.vim'
Plugin 'vim-scripts/matchit.zip'
Plugin 'vim-scripts/tComment'

if filereadable(expand("~/.vimrc.bundles.local"))
  source ~/.vimrc.bundles.local
endif

call vundle#end()
filetype on

was trying to load Plugins twice, opps.

I am having the same problem @nobleach for some reason I have to :PluginInstall everytime I enter vim before it loads anything.

@newwtron54 adding call vundle#end() at the end of the Plugin call fixed my problem. Hope this can help you too.

I'm having this issue with: https://github.com/raichoo/purescript-vim

filetype plugin on
syntax on

in file .vimrc

I know this is an old thread, but similar to @oludiro solution, I had to add call plug#end() after the end of the plugin calls in order to fix this issue.

Yes it is required:

call vundle#end()            " required

it occured to me too, I had two blocks of plugins installations (starting with call vundle#begin() and ending with call vundle#end())

  • One block containing lines starting with Bundle
  • Another block containing lines starting with Plugin

Grouping them then using Plugin everywhere did help :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bmyell picture bmyell  路  5Comments

thetutlage picture thetutlage  路  7Comments

arnsa picture arnsa  路  6Comments

PeterBocan picture PeterBocan  路  4Comments

Dbz picture Dbz  路  6Comments