Here is my problem:
Everytime when I open a new window of Vim and use PluginList to check the installed Plugins, only one Plugin 'VundleVim/Vundle.vim' appears.
Only when I source .vimrc in the new window, then check PluginList again, other Plugins will appear. I think it's quite abnormal since the .vimrc should be loaded automatically when I open Vim.
Here is my .vimrc file and I put it under $HOME
`
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'file:///home/gmarik/path/to/plugin'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'Valloric/YouCompleteMe'
call vundle#end()
filetype plugin indent on
set mouse=a
set nu
syntax on
set shiftwidth=4
set softtabstop=4
set tabstop=4
set expandtab
Here is my problem: Everytime when I open a new window of Vim and use PluginList to check the installed Plugins, only one Plugin 'VundleVim/Vundle.vim' appears. Only when I source .vimrc in the new window, then check PluginList again, other Plugins will appear. I think it's quite abnormal since the .vimrc should be loaded automatically when I open Vim.
Here is my .vimrc file and I put it under $HOME
` set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'file:///home/gmarik/path/to/plugin'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'Valloric/YouCompleteMe'
call vundle#end()
filetype plugin indent on
set mouse=a set nu syntax on set shiftwidth=4 set softtabstop=4 set tabstop=4 set expandtab
`