Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1455023
  • 博文数量: 596
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 173
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-06 15:50
个人简介

在线笔记

文章分类

全部博文(596)

文章存档

2016年(1)

2015年(104)

2014年(228)

2013年(226)

2012年(26)

2011年(11)

分类: 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



阅读(6035) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~