These are chat archives for VundleVim/Vundle.vim

31st
Aug 2014
Bob Cressman
@BOHICAMAN
Aug 31 2014 00:11
Ok, I've read and played for 2 more days. I got Vundle installed and Vim finally recognizes it. However, when I do a PluginInstall , I get two errors, E116, ( List Index Out of Range:0 ) and E684 (Invalid Arguments for Function Vundle#Installation#Run ). Anyone have any idea what the problem is?? (other than me!!)
Eduardo San Martin Morote
@posva
Aug 31 2014 07:21
If you don't share you vimrc, people won't be able to help you.
usually the readme have all the information you need to get started with vundle
Bob Cressman
@BOHICAMAN
Aug 31 2014 13:42

Here's the _vimrc. I don't know why the black background shows up below.
" 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
colorscheme blue
set background=dark " Use colours that work well on a dark background (Console is usually black)
set number
set showmode " show the current mode
syntax on " turn syntax highlighting on by default
" 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
set rtp+=~/vim/vim74,~/vim/vim74/vimfiles~/vim/vim74/vimfiles/after,~/vim/vim74/vimfiles/bundle,~/vim/autoload
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 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")
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" VUNDLE
filetype off
call vundle#begin()
Plugin 'gmarik/vundle.vim'
call vundle#end()
filetype plugin indent on
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Bob Cressman
@BOHICAMAN
Aug 31 2014 14:57
My THANKS to all who answered! I have corrected the problem with the "rtp" and Vundle now works properly! Now, I'm back to learning and enjoying Vim!
Eduardo San Martin Morote
@posva
Aug 31 2014 20:33
I'm late but yeah, you are missing the set rtp+=~/.vim/bundle/Vundle.vim