vim vundle插件 - 插件安装在每个插件上失败 - 在Windows 7下的gvim 74

时间:2015-04-08 00:58:19

标签: vim plugins windows-7

正如标题所说,我终于完成了所有设置,当我开始我的vim时,我没有遇到任何麻烦。但是当我运行命令安装插件时,错误后它的错误没有任何反应。我按照提供的确切说明安装vundle。感谢帮助。

" Plugins -----------------------------------------------------------------
" set up vundle to handle plugins
set nocompatible
filetype off

set rtp+=~/vimfiles/bundle/Vundle.vim
let path='~/vimfiles/bundle'
call vundle#begin(path)

" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean  - confirms removal of unused plugins; append `!` to auto-approve removal
" :h vundle for more details

Plugin 'gmarik/vundle.vim'              " easily install and update vim plugins
Plugin 'tpope/vim-fugitive'             " cool git wrapper
Plugin 'L9'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'rstacruz/sparkup', {'rtp': 'vim'}  "script in a subdirectory
Plugin 'user/L9', {'name': 'newL9'}     " avoid name conflict with L9
Plugin 'tpope/vim-surround'               " Easyily manipulate surrounding tags
"Plugin 'scrooloose/nerdtree.git'    " directory explorer for vim
"Plugin 'Buffergator'                " list,select and switch between buffers
""Plugin 'Lokaltog/vim-powerline'         " A status line plugin for vim
"Plugin 'vim-addon-mw-utils'         " snipmate depends on this
"Plugin 'tlib_vim'                   " snipmate depends on this
"Plugin 'snipMate'                   " Snippet/boilerplate tool
"Plugin 'Lokaltog/vim-easymotion'    " A simplification of vim motions
"Plugin 'matchit.zip'                " Extends % to more than just braces
"Plugin 'Alternate-workspace'        " switch between header/code files
"Plugin 'tComment'                   " easily toggle comments
"Plugin 'MRU'                        " show ten most recent files
"Plugin 'rainbow_parentheses.vim'
call vundle#end()
filetype plugin indent on

" setup powerline for vim #start
python from powerline.vim import setup as powerline_setup
python powerline_setup()
python del powerline_setup

set laststatus=2
set guifont=Inconsolata\ for\ Powerline:h12
" setup powerline for vim #stop

我得到的错误消息就是这个例子的所有内容,我试图安装逃犯。

处理'tpope / vim-fugitive'

Error detected while processing function vundle#installer#new..<SNR>30_process..
vundle#installer#run..vundle#installer#install..<SNR>30_syn..<SNR>30_system:
line  1:
E484: Can't open file C:/Users/%MYUSERNAME%/AppData/Local/Temp/VIo7A20.tmp
Error detected while processing function vundle#installer#new..<SNR>30_process:
line  13:
E121: Undefined variable: s:last_status
E15: Invalid expression: 'error s:last_status
line  17:
E121: Undefined variable: s:last_status
E15: Invalid expression: 'updated' == s:last_status && empty(msg)

仍然没有插件工作。感谢帮助

1 个答案:

答案 0 :(得分:0)

我在使用Windows 7的vim 7.4上遇到了同样的问题,同时运行了bug.n平铺窗口管理器。我刚关闭了bug.n并且神奇地工作了。 BTW:bug.n使用autohotkey。