vundle管理VIM插件

1. WIN7安装GIT

http://msysgit.github.com/

2. 安装vundle

开始,运行Git bash

3.代理设置(可选,WINDOWS可用,LINUX不可用,原因未知)

git config --global http.proxy "user:[email protected]:8081"

4.下载

$ git clone https://github.com/gmarik/vundle.git ~/.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 在指定的网站查找插件

https://github.com/vim-scripts 

http://vim-scripts.org/vim/scripts.html 

7 填写所需的插件,高亮插件

visualMarks.vim(在https://github.com/vim-scripts )

修改.vimrc

Bundle 'visualMarks.vim'

连起来就是https://github.com/vim-scripts/visualMarks.vim

8 安装插件(打开VIM)

:BundleInstall



阅读(5013) | 评论(0) | 转发(0) |
0

上一篇:automake快速搭建工程

下一篇:git The requested URL returned error:443

相关热门文章
  • MyBatis Generator代码生成工...
  • Python 包管理工具解惑
  • MyBatis 入门(五)--分页查询(...
  • Linux内核与根文件系统的关系...
  • MyBatis 入门(五)--分页查询(...
  • linux 常见服务端口
  • xmanager 2.0 for linux配置
  • 【ROOTFS搭建】busybox的httpd...
  • openwrt中luci学习笔记
  • 什么是shell
  • linux dhcp peizhi roc
  • 关于Unix文件的软链接
  • 求教这个命令什么意思,我是新...
  • sed -e "/grep/d" 是什么意思...
  • 谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
评论热议

你可能感兴趣的:(Linux)