正如标题所说,我终于把它设置好了,当我开始我的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我得到的错误消息都和这个例子一样,这是我在尝试安装fugitive时得到的。
正在处理'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)仍然没有插件正常工作。感谢您的帮助
发布于 2016-07-01 15:09:04
在运行bug.n平铺窗口管理器时,我在Windows7的vim 7.4上遇到了同样的问题。我刚刚关闭了bug.n,它神奇地工作了。顺便说一句: bug.n使用自动热键。
https://stackoverflow.com/questions/29504092
复制相似问题