Closed snitko closed 12 years ago
Hey! Something is clearly wrong...but your vimrc. example looks fine to me...
Could you post your :echo &rtp
output?
Can I see your full .vimrc
somewhere?
Thanks!
:echo &rtp
results in this:
/Users/roman/.vim/bundle/vundle,/Users/roman/.vim/bundle/nerdtree,/Users/roman/.vim/bundle/rails.vim,/Users/roman/.vim,/Applications/MacVim.app/Contents/Resources/vim/vimfiles,/A pplications/MacVim.app/Contents/Resources/vim/runtime,/Applications/MacVim.app/Contents/Resources/vim/vimfiles/after,/Users/roman/.vim/after,/Users/roman/.vim/bundle/vundle/,/Use rs/roman/.vim/bundle/vundle/after,/Users/roman/.vim/bundle/nerdtree/after,/Users/roman/.vim/bundle/rails.vim/after
Here's my .vimrc which is actually 3 files. ~/.vim/bundles.vim
is the one in which all of the Vundle related settings are.
~/.gvimrc
:so ~/.vim/bundles.vim
:set guioptions+=emTt
" Manage tabs
:set showtabline=2
:nmap <C-Tab> :tabnext<cr>
:nmap <D-t> :tabnew<cr>
:nmap <D-w> :close<cr>
:nmap <D-Right> :tabnext<CR>
:nmap <D-Left> :tabprevious<CR>
" Disable bells
:set vb
" Map NERDTree
:map <F7> :NERDTreeToggle ~/Work<cr>
" Close Vim if only NERDTree is left.
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
~/.vimrc
:set number "shows line numbers on the left
:syn on
:set anti
:set gfn=Monaco:h12
:colorscheme jellybeans
:set cursorline
:set enc=utf-8
:set fencs=ucs-bom,utf-8,default,latin1
:set backspace+=indent,eol,start
:set tabstop=2
:set expandtab
" No trash files
:set nobackup
:set nowritebackup
:set noswapfile
" Handle buffers and tabs
:tab sball
:set switchbuf=usetab
" Switch between open windows
:map <F2> <C-W>w
:map <A-Tab> <C-W>w
:so ~/.vim/RussianMappings.vim
:so ~/.vim/SaveCopyPasteShortcuts.vim
:filetype plugin on
~/.vim/bundles.vim
set nocompatible " be iMproved
filetype on " required on MacOSX only
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" My Bundles here:
"
" original repos on github
" Bundle 'tpope/vim-fugitive'
Bundle 'scrooloose/nerdtree'
Bundle 'rails.vim'
" vim-scripts repos
" Bundle 'L9'
" Bundle 'FuzzyFinder'
" non github repos
" Bundle 'git://git.wincent.com/command-t.git'
" ...
filetype plugin indent on " required!
ok, so rtp
includes paths to NerdTree and Rails.vim, which means Vim should be picking up those plugins.
The only reason those plugins do not get loaded is(from what I can see) the way you initialize vundle: in .gvimrc
.
So could you please move line :so ~/.vim/bundles.vim
from .gvimrc
to .vimrc
and let me know how that goes.
Thanks
That worked indeed. Thank you. Would you please tell me why? What's the difference if both .vimrc and .gvimrc are loaded?
:h gvimrc
The gvimrc file is where GUI-specific startup commands should be placed. It is always sourced after the vimrc file.
So having plugins configuration in gvimrc
means Vim won't "see" any plugins, because plugins get initialized before gvimrc gets loaded.
Closing! THanks
Hi there, I'm actually having this same exact problem but don't even have a ~/.gvimrc file. What do you think could be the problem?
my ~/.vimrc
" VIM Configuration for Brian Clements
" Version: 0.10.0
" Date: 2013.05.20-10:23
" Last Change: complete revamp and clean up after starting from scratch
" ------------------
" ------------------
" Do First Settings
" ------------------
" when started as "evim", evim.vim will already have done these settings.
if v:progname =~? "evim"
finish
endif
" this must be first, because it changes other options as a side effect.
set nocompatible
" Vundle
filetype off
set rtp+=~/.vim/bundle/vundle-reps/
call vundle#rc()
" let vundle manage vundle, required
Bundle 'gmarik/vundle'
" additional Bundles
Bundle 'scrooloose/nerdcommenter'
Bundle 'scrooloose/nerdtree'
Bundle 'fholgado/minibufexpl'
Bundle 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
Bundle 'tpope/vim-fugitive'
Bundle 'klen/python-mode'
syntax on
filetype plugin indent on
" ------------------
" General Vim Settings
" ------------------
" Put these in an autocmd group, so that we can delete them easily.
augroup vimrcEx
au!
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event handler
" (happens when dropping a file on gvim).
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
augroup END
" Indentation
set autoindent
set copyindent
" In many terminal emulators the mouse works just fine, thus enable it.
set mouse=a
" Search Options
set ignorecase
set smartcase
set incsearch " do incremental searching
set hlsearch
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
" Backup
set backup " keep a backup file
" Color Support
" Switch colors depending on GUI or in regular xterm. And if supported for
" each, syntax is turned on.
if has('gui_running')
colors tir_black
else
if &t_Co > 2
"colors adrian
set t_Co=256
colors tir_black
else
colors adrian
endif
endif
" Wordwrap
set nowrap
set sidescroll=15
set listchars+=precedes:<,extends:>
" Folding
set foldlevel=0
set foldnestmax=15
set foldmethod=manual
" Saves manual folds
au BufWinLeave ?* mkview 1
au BufWinEnter ?* silent loadview 1
" Sets folding to occur automatically from indent but allows manual creation
" augroup vimrc
" au BufReadPre * setlocal foldmethod=indent
" au BufWinEnter * if &fdm == 'indent' | setlocal foldmethod=manual | endif
" augroup END
" The method below is a superior method for using indents then standard
" indent, (TODO: make folding filetype dependant, use expr below for
" plain text, use syntax for specific source files, use above for all
" else)
"
" Original
" setlocal foldmethod=expr
" setlocal foldexpr=(getline(v:lnum)=~'^$')?-1:((indent(v:lnum)<indent(v:lnum+1))?('>'.indent(v:lnum+1)):indent(v:lnum))
" set foldtext=getline(v:foldstart)
" set fillchars=fold:\ "(there's a space after that \)
" highlight Folded ctermfg=DarkGreen ctermbg=Black
"
" Merged....this works now, but has a weird probelem with needing to
" unfold a BILLION times to get it open.
" augroup vimrc
" au BufReadPre * setlocal foldmethod=expr |
" \ setlocal foldexpr=(getline(v:lnum)=~'^$')?-1:((indent(v:lnum)<indent(v:lnum+1))?('>'.indent(v:lnum+1)):indent(v:lnum)) |
" \ set foldtext=getline(v:foldstart) |
" \ set fillchars=fold:\ "(there's a space after that \) |
" \ highlight Folded ctermfg=DarkGreen ctermbg=Black |
" au BufWinEnter * if &fdm == 'expr' | setlocal foldmethod=manual | endif
" augroup END
" Orphans
" Misc Options
set history=1000 " lines of command line history
set undolevels=1000 " levels of undo history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set termencoding=utf-8
set tabstop=4
set shiftwidth=4 " number of spaces to use for autoindenting
set expandtab
set bdir=.,/home/brian/.vim/tmp/backup
set dir=.,/home/brian/.vim/tmp,/var/tmp,/tmp
set helplang=en
set nomodeline
set printoptions=paper:letter
set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after,~/.vim/bundles
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
set scrolloff=10
set wildmode=longest,list
set visualbell
set noerrorbells
set hidden
set title
set showmatch
set smarttab
set autochdir
" set shortmess=atI " Shorten command-line text and other info tokens
set number
" statusline via fugitive plugin - disabled and replaced by
" cf the default statusline: %<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P
" format markers:
" %< truncation point
" %n buffer number
" %f relative path to file
" %m modified flag [+] (modified), [-] (unmodifiable) or nothing
" %r readonly flag [RO]
" %y filetype [ruby]
" %= split point for left and right justification
" %-35. width specification
" %l current line number
" %L number of lines in buffer
" %c current column number
" %V current virtual column number (-n), if different from %c
" %P percentage through buffer
" %) end of width specification
set statusline=%<%F%h%m%r%h%w%y\ %=\ %{fugitive#statusline()}\ lin:%l\,%L\ col:%c%V\ pos:%o\ ascii:%b\ %P
set lazyredraw
" automatically leave insert mode after 'updatetime' milliseconds of inaction
"au CursorHoldI * stopinsert
"au InsertEnter * let updaterestore=&updatetime | set updatetime=2000
"au InsertLeave * let &updatetime=updaterestore
" Change Color when entering Insert Mode
hi Cursorline cterm=none
autocmd InsertEnter * highlight CursorLine cterm=bold
" Revert Color to default when leaving Insert Mode
autocmd InsertLeave * highlight CursorLine cterm=none
" ------------------
" Gvim Settings
" ------------------
version 6.0
if &cp | set nocp | endif
let s:cpo_save=&cpo
set cpo&vim
map! <S-Insert> <MiddleMouse>
nmap gx <Plug>NetrwBrowseX
nnoremap <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("<cWORD>"),0)
map <S-Insert> <MiddleMouse>
" map <LeftMouse> " any click on gvim will trigger insert mode (doesn't work)
let &cpo=s:cpo_save
unlet s:cpo_save
set background=dark
set fileencodings=ucs-bom,utf-8,default,latin1
set guifont=Monospace\ 10
set go=aegirmLt
" ------------------
" Custom Key Mappings
" ------------------
" Change the mapleader from \ to ;
let mapleader=";"
" Quick edit and reload of .vimrc
nmap <silent> <leader>ev :e $MYVIMRC<CR> " edits .vimrc
nmap <silent> <leader>sv :so $MYVIMRC<CR> " reloads .vimrc
" Basic functions made easier
nmap <silent> <leader>tn :tabnew<CR>
nmap <silent> <leader>x :x<CR>
nmap <silent> <leader>q :q!<CR>
nmap <silent> <leader>w :w<CR>
nmap <leader>e :e
nmap <leader>wa :saveas
nmap <leader>W :wa<CR>
nmap <leader>r :r
nmap <silent> <leader>/ :nohlsearch<CR> " clears search buffer
nnoremap <silent> <leader>h <$>
nnoremap <silent> <leader>l <^>
" Insert Mode Basic Functions Made Easier
imap <silent> <leader>j; <ESC>
imap <silent> <S-BS> <Del>
imap <silent> <leader>w; <ESC> :w<CR> i
" Carriage Return + demote tab
imap <S-CR> <CR><C-d>
" Cut/paste shortcuts for x-clipboard
vmap <silent> <leader>sy "+y<CR>
nmap <silent> <leader>sp "+p<CR>
nmap <silent> <leader>sP "+P<CR>
" Date insert
:nnoremap <F4> "=strftime("%Y.%m.%d-%R")<CR>P
:inoremap <F4> <C-R>=strftime("%Y.%m.%d-%R")<CR>
" Enable insert mode navigation (disabled in favor of easier scrolling)
" imap <C-j> <Down>
" imap <C-k> <Up>
" imap <C-h> <Left>
" imap <C-l> <Right>
" imap <C-d> <Del>
" Scroll lines quicker
noremap <C-e> 4<C-e>
noremap <C-y> 4<C-y>
vnoremap <C-e> 4<C-e>
vnoremap <C-y> 4<C-y>
" Window Splits, virtical and horizontal
nmap <silent> <leader>wn :new<CR><bar><C-W>J
nmap <silent> <leader>wv :vnew<CR><bar><C-W>L
" Easy window navigation
" <A-h> doesn't want to work for some reason, doing alt method
" nmap <A-h> <C-w>h
" nmap <A-j> <C-w>j
" nmap <A-k> <C-w>k
" nmap <A-l> <C-w>l
map <A-j> <C-w>w
map <A-k> <C-w>W
" Switch colors on the fly
map <silent><F7> :PREVCOLOR<CR>
map <silent><F8> :NEXTCOLOR<CR>
" Disable auto-formatting for pasting large chucks of text
set pastetoggle=<F2>
" Folding
nnoremap <silent> <Space> @=(foldlevel('.')?'za':'l')<CR>
vnoremap <Space> zf
" View commands
" The following will make tabs and trailing spaces visible when requested
set listchars=tab:>-,trail:·,eol:$
nmap <silent> <leader>vt :set nolist!<CR>
" Line numbers toggle
map <silent> <leader>vl :set nonumber!<CR>
" Quickly shrink window to quarter size
nmap <silent> <leader>vs :set columns=80 <bar> set lines=20<CR>
nmap <silent> <leader>vS :set columns=190 <bar> set lines=45<CR>
" sudo-and-write command
cmap w!! w !sudo tee % >/dev/null
" Don't use Ex mode, use Q for formatting
map Q g " any click on gvim will trigger instert modeq
" Proper demote behavior
" Can't get it to work....I think it's the format of the CTRL-D
" map <S-Tab> <C-d>
" Orphans
" Wrap mode combatibility, jump to next visual line, not actual line
" nnoremap j gj
" nnoremap k gk
" ? not sure why I have this yet, alot of other .vimrc configs have it
" nnoremap ' `
" nnoremap ` '
" Quick open for templates (TODO: create plugin for frequent file types?)
" Diff commands
nmap <silent> <leader>du :diffupdate<CR>
" ------------------
" Plugin Options
" ------------------
" latex suite
" IMPORTANT: grep will sometimes skip displaying the file name if you
" search in a singe file. This will confuse Latex-Suite. Set your grep
" program to always generate a file-name.
set grepprg=grep\ -nH\ $*
" OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to
" 'plaintex' instead of 'tex', which results in vim-latex not being loaded.
" The following changes the default filetype back to 'tex':
let g:tex_flavor='latex'
" lilypond
set runtimepath+=/usr/share/lilypond/2.14.2/vim/
" vimoutliner
" defaults:
let otl_install_menu=1
let no_otl_maps=0
let no_otl_insert_maps=0
" overrides:
let otl_bold_headers=0
let otl_use_thlnk=0
let use_space_colon=1
" au BufWinLeave *.otl mkview
" au BufWinEnter *.otl silent loadview
" Git interface support
nmap <leader>gv :Gitv --all<CR>
nmap <leader>gV :Gitv! --all<CR>
vmap <leader>gV :Gitv! --all<CR>
highlight diffAdded guifg=#00bf00
highlight diffRemoved guifg=#bf0000
" NERDTree
nmap <silent> <leader>t :NERDTreeToggle<cr>
"autocmd vimenter * if !argc() | :NERDTreeToggle | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
" Powerline
set guifont=DejaVu\ Sans\ Mono\ for\ Powerline\ 9
set laststatus=2
" Python-mode
" Activate rope
" Keys
" K Show python docs
" <Ctrl-Space> Rope autocomplete
" <Ctrl-c>g Rope goto definition
" <Ctrl-c>d Rope show documentation
" <Ctrl-c>f Rope find occurrences
" <Leader>b Set, unset breakpoint (g:pymode_breakpoint enabled)
" [[ Jump on previous class or function (normal, visual, operator modes)
" ]] Jump on next class or function (normal, visual, operator modes)
" [M Jump on previous class or method (normal, visual, operator modes)
" ]M Jump on next class or method (normal, visual, operator modes)
let g:pymode_rope = 1
" Documentation
let g:pymode_doc = 1
let g:pymode_doc_key = 'K'
"Linting
let g:pymode_lint = 1
let g:pymode_lint_checker = "pyflakes,pep8"
" Auto check on save
let g:pymode_lint_write = 1
" Support virtualenv
let g:pymode_virtualenv = 1
" Enable breakpoints plugin
let g:pymode_breakpoint = 1
let g:pymode_breakpoint_key = '<leader>b'
" syntax highlighting
let g:pymode_syntax = 1
let g:pymode_syntax_all = 1
let g:pymode_syntax_indent_errors = g:pymode_syntax_all
let g:pymode_syntax_space_errors = g:pymode_syntax_all
" Don't autofold code
let g:pymode_folding = 0
" ------------------
" Filetype Specific Options
" ------------------
" For all text files
autocmd FileType text
"\ setlocal textwidth=78 |
"\ highlight ColorColumn guibg=#220000 |
"\ set colorcolumn=78
\ highlight Excess ctermbg=DarkGrey guibg=Black |
\ match Excess /\%78v.*/ |
\ set nowrap
" Vimrc
autocmd BufEnter vimrc setlocal nospell
" Vim Outliner
autocmd BufEnter,BufNewFile *.otl
\ setlocal nonumber |
\ setlocal spell |
\ highlight Excess ctermbg=DarkGrey guibg=Black |
\ match Excess /\%78v.*/ |
\ set nowrap |
\ imap <S-CR> <CR><C-t>|
\ imap <C-S-CR> <CR><C-d><BS>
" Text files
autocmd BufEnter,BufNewFile *.txt
\ setlocal spell |
\ setlocal wrap |
\ highlight Excess ctermbg=DarkGrey guibg=Black |
\ match Excess /\%78v.*/ |
\ set nowrap
" Lilypond Files
autocmd BufEnter,BufNewFile *.ly
\ setf lilypond |
\ setl noai nocin nosi inde= |
\ setlocal autoindent |
\ map <leader>lwm :wa<CR> <bar> :!lilypond "%:p"<CR> |
\ map <leader>lm :!lilypond "%:p"<CR> |
\ map <leader>lms :wa<CR> <bar> :cd ../score<CR> <bar> :!lilypond "%:p:h:h/score/score.ly"<CR> <bar> :cd ../music<CR> |
\ map <leader>lps :!timidity "%:p:h:h/score/score.midi" &<CR> |
\ map <leader>lpS :!killall timidity &<CR> |
\ map <leader>lv :!evince "%:p:r.pdf" &<CR> |
\ map <leader>lvs :!evince "%:p:h:h/score/score.pdf" &<CR> |
\ set tabstop=4
" Lilypond-book Files
autocmd BufEnter,BufNewFile *.lytex
\ setf lilypond |
\ setf latex |
\ map <leader>wm :w<CR> <bar> :! lilypond-book --output=output --pdf "%:p"<CR> <bar> :cd output<CR> <bar> :! pdflatex "%:p:h/output/%:t:r.tex"<CR> :cd ..<CR> |
\ map <leader>lbm :! lilypond-book --output=output --pdf "%:p"<CR> <bar> :cd output<CR> <bar> :! pdflatex "%:p:h/output/%:t:r.tex"<CR> :cd ..<CR> |
\ map <leader>lbv :! acroread "%:p:h/output/%:t:r.pdf" &<CR>
" Python Files
autocmd FileType python
" highlight characters past column 78
\ highlight Excess ctermbg=DarkGrey guibg=Black |
\ match Excess /\%78v.*/ |
\ set nowrap
On cold startup: My :echo &rtp
/home/brian/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfi les/after,/var/lib/vim/addons/after,/home/brian/.vim/after,/home/brian/.vim/bundles,/usr/share/lilypon d/2.14.2/vim/
and my :scriptnames
1: /usr/share/vim/vimrc 2: /usr/share/vim/vim73/debian.vim 3: /usr/share/vim/vim73/syntax/syntax.vim 4: /usr/share/vim/vim73/syntax/synload.vim 5: /usr/share/vim/vim73/syntax/syncolor.vim 6: /usr/share/vim/vim73/filetype.vim 7: ~/.vimrc 8: /usr/share/vim/vim73/ftoff.vim 9: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/autoload/vundle.vim 10: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/autoload/vundle/config.vim 11: /usr/share/vim/vim73/syntax/nosyntax.vim 12: /usr/share/vim/vim73/ftplugin.vim 13: /usr/share/vim/vim73/indent.vim 14: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/colors/tir_black.vim 15: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/plugin/ScrollColor.vim 16: /usr/share/vim/vim73/plugin/getscriptPlugin.vim 17: /usr/share/vim/vim73/plugin/gzip.vim 18: /usr/share/vim/vim73/plugin/matchparen.vim 19: /usr/share/vim/vim73/plugin/netrwPlugin.vim 20: /usr/share/vim/vim73/plugin/rrhelper.vim 21: /usr/share/vim/vim73/plugin/spellfile.vim 22: /usr/share/vim/vim73/plugin/tarPlugin.vim 23: /usr/share/vim/vim73/plugin/tohtml.vim 24: /usr/share/vim/vim73/plugin/vimballPlugin.vim 25: /usr/share/vim/vim73/plugin/zipPlugin.vim
and after running :BundleInstall
my :scriptnames
1: /usr/share/vim/vimrc 2: /usr/share/vim/vim73/debian.vim 3: /usr/share/vim/vim73/syntax/syntax.vim 4: /usr/share/vim/vim73/syntax/synload.vim 5: /usr/share/vim/vim73/syntax/syncolor.vim 6: /usr/share/vim/vim73/filetype.vim 7: ~/.vimrc 8: /usr/share/vim/vim73/ftoff.vim 9: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/autoload/vundle.vim 10: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/autoload/vundle/config.vim 11: /usr/share/vim/vim73/syntax/nosyntax.vim 12: /usr/share/vim/vim73/ftplugin.vim 13: /usr/share/vim/vim73/indent.vim 14: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/colors/tir_black.vim 15: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/plugin/ScrollColor.vim 17: /usr/share/vim/vim73/plugin/gzip.vim 18: /usr/share/vim/vim73/plugin/matchparen.vim 19: /usr/share/vim/vim73/plugin/netrwPlugin.vim 20: /usr/share/vim/vim73/plugin/rrhelper.vim 21: /usr/share/vim/vim73/plugin/spellfile.vim 22: /usr/share/vim/vim73/plugin/tarPlugin.vim 23: /usr/share/vim/vim73/plugin/tohtml.vim 24: /usr/share/vim/vim73/plugin/vimballPlugin.vim 25: /usr/share/vim/vim73/plugin/zipPlugin.vim 26: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/autoload/vundle/installer.vim 27: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/autoload/vundle/scripts.vim 28: /usr/share/vim/vim73/scripts.vim 29: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/view/=+mntlcl=+vhome=+brian=+dev=+st udy=+python=+[Vundle] Installer=1.vim 30: /usr/share/vim/vim73/syntax/vim.vim 31: /usr/share/vim/vim73/syntax/lua.vim 32: /usr/share/vim/vim73/syntax/perl.vim 33: /usr/share/vim/vim73/syntax/ruby.vim 34: /usr/share/vim/vim73/syntax/python.vim 35: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdcommenter/plugin/NERD_commenter.vim 36: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/plugin/NERD_tree.vim 37: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/autoload/nerdtree.vim 38: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/lib/nerdtree/path.vim 39: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/lib/nerdtree/menu_controller.vim 40: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/lib/nerdtree/menu_item.vim 41: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/lib/nerdtree/key_map.vim 42: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/lib/nerdtree/bookmark.vim 43: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/lib/nerdtreetree_file_node.vim 44: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/lib/nerdtree/tree_dir_node.vim 45: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/lib/nerdtree/opener.vim 46: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/lib/nerdtree/creator.vim 47: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/nerdtree_plugin/exec_menuitem.vim 48: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/nerdtree/nerdtree_plugin/fs_menu.vim 49: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/minibufexpl/plugin/minibufexpl.vim 50: /mntlcl/vhome/brian/Ubuntu One/Personal/Preferences/home/vim/bundle/vim-fugitive/plugin/fugitive.vim
and my :echo &rtp
/home/brian/.vim/bundle/python-mode,/home/brian/.vim/bundle/vim-fugitive,/home/brian/.vim/bundle/power line/powerline/bindings/vim/,/home/brian/.vim/bundle/minibufexpl,/home/brian/.vim/bundle/nerdtree,/hom e/brian/.vim/bundle/nerdcommenter,/home/brian/.vim/bundle/vundle,/home/brian/.vim,/var/lib/vim/addons, /usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,/ home/brian/.vim/after,/home/brian/.vim/bundles,/usr/share/lilypond/2.14.2/vim/,/home/brian/.vim/bundle /vundle/after,/home/brian/.vim/bundle/nerdcommenter/after,/home/brian/.vim/bundle/nerdtree/after,/home /brian/.vim/bundle/minibufexpl/after,/home/brian/.vim/bundle/powerline/powerline/bindings/vim//after,/ home/brian/.vim/bundle/vim-fugitive/after,/home/brian/.vim/bundle/python-mode/after
After I launch vim the plugins installed are not available (although helptags for them are). This is what I have in .vimrc
The plugins are installed successfully with
:BundleInstall
. Then, after I restart Vim they are not available. If I type:NERDTree
it says it's not a Vim command. Only if I run:BundleInstall
again it seems to be picking them up and the command becomes available. Then, after the vim is closed and started again - the plugins are not loaded automatically again.Am I missing something?