打造最强大的vim IDE(一) —— vim管理插件的插件
2014-08-06 16:33
615 查看
关于vim的强大,这篇就不多说了,上一篇转载的文章已经解释的很清楚了。vim的插件管理也有很多,上文提到的Pathogen就是很不错的,今天给大家说的是Vundle。
学会Vundle只需两部。
第一,git
clone https://github.com/gmarik/vundle.git
~/.vim/bundle/vundle
第二,在.vimrc文件中添加如下配置:
至此,我们的前期准备已经全部完成。打开vim,执行:BundleInstall即可将配置文件中添加的bundler插件进行安装。
没听明白?哈,再举个实际的例子,如下:
结合vundle的使用,安装power-line插件~ 并进行相关配置.
![](http://pic002.cnblogs.com/images/2012/420126/2012082117344449.png)
如上所示,我添加了vundle插件的git源,来吧,懒人福利(Bundle 'https://github.com/Lokaltog/powerline.git')。退出保存一下,再打开vim,:BundleInstall,即可安装。
然后再进行简单配置即可.
![](http://pic002.cnblogs.com/images/2012/420126/2012082117365114.png)
最后我们有了华丽丽的状态栏了
学会Vundle只需两部。
第一,git
clone https://github.com/gmarik/vundle.git
~/.vim/bundle/vundle
第二,在.vimrc文件中添加如下配置:
set nocompatible " be iMproved filetype off " required! set rtp+=~/.vim/bundle/vundle/ call vundle#rc() " let Vundle manage Vundle " required! Bundle 'gmarik/vundle' " My Bundles here: " " original repos on github Bundle 'tpope/vim-fugitive' Bundle 'Lokaltog/vim-easymotion' Bundle 'rstacruz/sparkup', {'rtp': 'vim/'} Bundle 'tpope/vim-rails.git' " vim-scripts repos Bundle 'L9' Bundle 'FuzzyFinder' " non github repos Bundle 'git://git.wincent.com/command-t.git' " ... filetype plugin indent on " required! " " Brief help -- 此处后面都是vundle的使用命令 " :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..
至此,我们的前期准备已经全部完成。打开vim,执行:BundleInstall即可将配置文件中添加的bundler插件进行安装。
没听明白?哈,再举个实际的例子,如下:
结合vundle的使用,安装power-line插件~ 并进行相关配置.
![](http://pic002.cnblogs.com/images/2012/420126/2012082117344449.png)
如上所示,我添加了vundle插件的git源,来吧,懒人福利(Bundle 'https://github.com/Lokaltog/powerline.git')。退出保存一下,再打开vim,:BundleInstall,即可安装。
然后再进行简单配置即可.
![](http://pic002.cnblogs.com/images/2012/420126/2012082117365114.png)
最后我们有了华丽丽的状态栏了
![](http://pic002.cnblogs.com/images/2012/420126/2012082117321089.png)
相关文章推荐
- vim配置(Vundle插件管理+打造python IDE)
- 打造vim IDE环境,管理大型项目
- 手把手将 Vim 打造成开发 Ruby 和 Rails 的强大 IDE
- 10款优秀Vim插件帮你打造完美IDE
- 使用pathogen管理Vim插件并托管到Github 参照文章【1】【2】的办法,将vim打造成一个Python开发环境。文章中使用的是 pathogen + git 来管理 Vim 插件的。对这种
- 打造VIM为成熟的IDE(一):安装SuperTab插件
- 将VIM打造成强大的IDE
- Linux Vim常用命令配置,插件ctags/taglist/WinManager/Easygrep,打造强悍IDE
- 10款优秀Vim插件帮你打造完美IDE
- 10款优秀Vim插件帮你打造完美IDE
- 如何用 bash-support 插件将 Vim 编辑器打造成编写 Bash 脚本的 IDE
- 将你的Vim 打造成轻巧强大的IDE 2015-04-28 09:38 43人阅读 评论(0) 收藏
- 将你的Vim 打造成轻巧强大的IDE
- 将你的Vim 打造成轻巧强大的IDE
- 10款优秀Vim插件帮你打造完美IDE
- 将vim打造成IDE编译环境——自己用的vim(gvim)插件
- 将你的Vim 打造成轻巧强大的IDE
- Vim打造强大IDE
- vim + terminator, 打造强大的IDE (附vim配置文件)
- 10款优秀Vim插件帮你打造完美IDE