请教Vim+Neobundle 安装问题
本帖最后由 w123456_cu 于 2014-02-01 16:14 编辑用Neobundle管理vim插件,按照过程如下
1、安装MsysGit (windos版本的Git)
选“Run Git from the Windows Command Prompt”
2、安装 Vim74.exe
安装在C:\Program Files\Vim目录
3、安装 NeoBundle:
$ cdC:\Program Files\Vim\
$ mkdir–p./vimfiles/bundle
$ git clone https://github.com/Shougo/neobundle.vim./vimfiles/bundle /neobundle.vim
4、配置_vimrc(如下)
5 vim下命令:NeoBundleInstall 安装插件,提示成功。
_vimrc文件:source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
if has('vim_starting')
set nocompatible " Be iMproved
set runtimepath+=~/vimfiles/bundle/neobundle.vim/
endif
call neobundle#rc(expand('~/vimfiles/bundle/'))
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
" My Bundles here:
NeoBundle 'perl-support.vim'
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
打开_vimrc 是正常的。但用vim打开其他目录下的文件,却出现错误提示
请问大虾有遇到这样的问题? 能否帮忙移到< linux 编程环境> 板块
页:
[1]