在线笔记
全部博文(596)
分类: LINUX
2013-01-24 15:29:03
1. WIN7安装GIT
2. 安装vundle
开始,运行Git bash
3.代理设置(可选,WINDOWS可用,LINUX不可用,原因未知)
git config --global http.proxy "user:pwd@192.168.9.25:8081"
4.下载
$ git clone ~/.vim/bundle/vundle
5 配置.vimrc
$ vi ~/.vim/bundle/vundle/README.md .vimrc -p
复制
set nocompatible " be iMproved
filetype off " required! /** 从这行开始,vimrc配置 **/
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" My Bundles here: /* 插件配置格式 */
"
" original repos on github (Github网站上非vim-scripts仓库的插件,按下面格式填写)
Bundle 'tpope/vim-fugitive'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'tpope/vim-rails.git'
" vim-scripts repos (vim-scripts仓库里的,按下面格式填写)
Bundle 'L9'
Bundle 'FuzzyFinder'
" non github repos (非上面两种情况的,按下面格式填写)
Bundle 'git://git.wincent.com/command-t.git'
" ...
filetype plugin indent on " required! /** vimrc文件配置结束 **/
" /** vundle命令 **/
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..
6 在指定的网站查找插件
7 填写所需的插件,高亮插件
(在 )
修改.vimrc
Bundle 'visualMarks.vim'
连起来就是/visualMarks.vim
8 安装插件(打开VIM)
:BundleInstall