代码: 全选
set mouse-=a
2) 刚刚装了Vundle 设置了一早上也没成功 输入
代码: 全选
BundleInstall
http://udonmai.com/work/why-cant-run-bundleinstall.html
已经尝试了这篇博文里的各种方法都没有成功 求解
环境是13.10+Vim7.4 附上我的vimrc
代码: 全选
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"Make sure Vundle is installed
let iCanHazVundle=1
let vundle_readme=expand('~/.vim/bundle/vundle/README.md')
if !filereadable(vundle_readme)
echo "Installing Vundle.."
echo ""
silent !mkdir -p ~/.vim/bundle
silent !git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle
let iCanHazVundle=0
endif
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"from Vundle's README
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" alternatively, pass a path where Vundle should install plugins
"let path = '~/some/path/here'
"call vundle#rc(path)
" let Vundle manage Vundle, required
Plugin 'gmarik/vundle'
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"rok's plugins
Plugin 'The-NERD-tree'
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - list configured plugins
" :PluginInstall(!) - install (update) plugins
" :PluginSearch(!) foo - search (or refresh cache first) for foo
" :PluginClean(!) - confirm (or auto-approve) removal of unused plugins
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Plugin commands are not allowed.
" Put your stuff after this line
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"rok's settings
set showcmd
set ignorecase
set number
set cindent
set shiftwidth=4
set tabstop=4
set mouse-=a
set guioptions=m
set guifont=DejaVu\ Sans\ Mono\ 10
set hlsearch
set cursorline
colorscheme desert
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""