码迷,mamicode.com
首页 > 系统相关 > 详细

VIM(一) VIM插件管理利器-vundle

时间:2015-07-25 13:44:42      阅读:192      评论:0      收藏:0      [点我收藏+]

标签:

有关VIM的文件网上一大堆,这里只是记录一下我新配置环境的步骤.以备查看参考.

 安装配置vundle

第一步,创建VIM的目录和配置文件:

在~目录下,添加.vimrc文件和.vim/bundle/vundle目录.

第二步,在.vimrc中添加Vundle的配置内容:

 

"use vundle to manage plugin
filetype off
set nocompatible
set rtp+=~/.vim/bundle/vundle
call vundle#rc()

 

注:最好是将这部分内容放到此配置文件的最前面  

 

安装插件

打开VIM,在命令模式下执行 

:BundleInstall

等等一会儿就自动安装完成了.

 

添加插件操作

 

这个Vundle可以自动去相应的官方去查找相应的制作,自动下载,例如,要使用tagbar,则在.vimrc添加

Bundle "majutsushi/tagbar"   

然后同样在命令模式下执行下面命令即可自动安装了:

:BundleInstall

 

常见插件参考:

" Syntax
Bundle asciidoc.vim
Bundle confluencewiki.vim
Bundle html5.vim
Bundle JavaScript-syntax
"Bundle ‘mako.vim‘
Bundle moin.vim
Bundle python.vim--Vasiliev
Bundle xml.vim
 
" Color
 
Bundle desert256.vim
Bundle Impact

Bundle vibrantink
Bundle vividchalk.vim
 
" Ftplugin
Bundle python_fold
 
" Indent
"Bundle ‘indent/html.vim‘
Bundle IndentAnything
Bundle Javascript-Indentation
Bundle mako.vim--Torborg
Bundle gg/python.vim
 
" Plugin
Bundle The-NERD-tree
Bundle AutoClose--Alves
Bundle auto_mkdir
Bundle cecutil
Bundle fcitx.vim
Bundle FencView.vim
"Bundle ‘FuzzyFinder‘
Bundle jsbeautify
Bundle L9
Bundle Mark
Bundle matrix.vim
Bundle mru.vim
Bundle The-NERD-Commenter
"Bundle ‘project.vim‘
Bundle restart.vim
Bundle taglist.vim
"Bundle ‘templates.vim‘
"Bundle ‘vimim.vim‘
Bundle ZenCoding.vim
Bundle css_color.vim
Bundle hallettj/jslint.vim

 

 

VIM(一) VIM插件管理利器-vundle

标签:

原文地址:http://www.cnblogs.com/linux-sir/p/4675731.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!