I am running into a rather strange error.
Upon running :Bundle*, I get this error (copied and pasted from :messages):
"vimrc" 1134L, 45680C
E441: There is no preview window
Error detected while processing function vundle#installer#new..vundle#scripts#view:
line 5:
E480: No match: [Vundle] Installer
line 7:
E441: There is no preview window
Vundle then precedes to prepend it's usual output to the current buffer, and then run it (it also applies it's local binds, and will execute any lines in the buffer if you run :BundleInstall).
I have tried debugging this by removing/swapping out Bundles, but I have had no luck so far. I am not sure what is causing this problem (conflicting Bundle?), as it will run fine on the initial install.
My vimrc is available in my dotfiles repo.
@neersighted are you still having this issue?
Nope... Must have been fixed recently then.
It may be due to a recent commit, but i am nom running with the same error now.
@nil0x42 can you share your vimrc?
HERE IS IT ! :)
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> The basics !
set nocompatible " who still uses vi ?
filetype off " disable before vundle loads
let mapleader="\" " must come before leader mappings !
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> Vundle Bundles
execute "set runtimepath+=".$SYNCONF."/vim/bundle/vundle/"
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'vim-scripts/hexman.vim'
Bundle 'tComment'
Bundle 'surround.vim'
Bundle 'fugitive.vim'
Bundle 'Lokaltog/vim-powerline'
Bundle 'Syntastic'
Bundle 'ctrlp.vim'
Bundle 'EasyMotion'
Bundle 'taglist-plus'
Bundle 'neocomplcache'
Bundle 'scrooloose/nerdtree'
Bundle 'sjl/gundo.vim'
Bundle 'dbext.vim'
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> Preferences
filetype plugin indent on " just after vundle, required
set title " send title to terminal
set history=1000
set undolevels=1000
set wildmenu " enhance vim menu completion
set wildignore+=_/tmp/_,_.so,_.swp,_.a,a.out,_.o,_~,_.pyc,*.d
execute "set viminfo+=n".$LOGDIR."/.viminfo"
set modelines=20 " how many lines are modeline checked
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> Ergonomic stuff
set nowrap
set scrolloff=7 " space to keep above/below cursor on scroll
set sidescrolloff=5 " same as above, for horizontal scrolling
set backspace=indent,eol,start " let backspace acts as it should !
set timeoutlen=1000 ttimeoutlen=0 " remove delay while pressing
set showcmd " show visual mode selected lines, etc...
set showmatch
set sidescroll=1 " scroll char by char (onerous)
set ttyfast
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> Look and Feel !
syntax on
set number
" set display=uhex,lastline " better display for binary files
set laststatus=2 " always show status line
set cursorline
colorscheme desert
highlight Normal ctermfg=white
highlight LineNr ctermbg=232 ctermfg=239
highlight CursorLine term=underline cterm=None ctermbg=234
set colorcolumn=81
highlight ColorColumn ctermbg=233
set listchars=tab:|-
set list
highlight SpecialKey ctermfg=235
let c_space_errors=1
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> Search features
set ignorecase " ignore case by default
set smartcase " don't ignore case if capital letter
set hlsearch " hilight all search matches
set incsearch " hilight first match in real time
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> Intentation
" set tabstop=8 " display tabs as 8 char
" set softtabstop=4 " soft tab char count
" set shiftwidth=4 " used columns for indentation
" set expandtab "
set smartindent
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
autocmd FileType c,cpp,make setlocal noexpandtab
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> Custom mappings
" Quickly edit/reload the vimrc file
nmap
nmap
" make C-L do its job, and also disable hilighted matches
noremap
" Go to real middle of current line (Ctrl-M)
nmap
" Open hexman helpfile
nmap
" toggle paste mode
nmap
" Open ctrlp plugin in MRU mode
nmap
" open/close nerdtree plugin bar
nmap
" open/close gundo plugin bar
nmap
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> Syntastic plugin
let g:syntastic_c_check_header = 1
let g:syntastic_c_auto_refresh_includes = 1
let g:syntastic_c_include_dirs = [ '../includes', 'includes', 'libft/includes', '../libft/includes', 'nboon/includes', '../nboon/includes' ]
let g:syntastic_c_checkers=['gcc']
let g:syntastic_disabled_filetypes=['o', 'a', 'd']
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> Ctrlp plugin
let g:ctrlp_working_path_mode = ''
let g:ctrlp_show_hidden = 1
let g:ctrlp_max_files = 1000
let g:ctrlp_custom_ignore = {
\ 'dir': '\v\/$',
\ 'file': '\v.(exe|so|dll)$',
\ 'link': 'SOME_BAD_SYMBOLIC_LINKS',
\ }
let g:ctrlp_abbrev = {
\ 'gmode': 'i',
\ 'abbrevs': [
\ {
\ 'pattern': '^lft',
\ 'expanded': '@cd ~/dev/libft',
\ 'mode': 'pfrz',
\ },
\ ]
\ }
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> NerdTree plugin
" enhance nerdtree behavior
let bclose_multiple = 0
"""""""""""""""""""""""""""""""""""""""""""""""""
" -> Gundo plugin
" open gundo graph in the right side instead of left
let g:gundo_right = 1
You are loading Vundle from a non standard location but you are not telling Vundle about it. Vundle downloads and sources a second copy of itself. Anything can go wrong.
Try passing to Vundle that location :
call vundle#rc( $SYNCONF."/vim/bundle/vundle/")
My problem appears fixed now, thanks for the help !
I got this problem because I have the below line in my vimrc
" Open every buffer in its own tabpage
au BufAdd,BufNewFile,BufRead * nested tab sball
After removing this line. Everything becomes fine.
I had this issue, after installing v4.6 (v4.5 works fine) of taglist. The question is, who is the culprit?
I'm having this issue again, taglist wasn't the culprit, it just coincidentally fixed it. Bug also appears with a minimal .vimrc.
Edit: Figured it out. Setting wildignore causes this:
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.tar.gz,*.tar.bz2
set wildignore+=*\\tmp\\*,*.exe
set wildignore+=*.git,*.hg,*.svn,*.perforce
Any idea why?
Same issue. Removed set wildignore+=*/tmp/*,*.so,*.swp,*.zip from my vimrc and re-ran :PluginUpdate with no errors. Restored the wildignore, and :PluginUpdate continues to run without errors, so something about the issue is stateful.