/***********************************************************************                      Vim Vundle 插件管理器* 说明:*     话说Vim也已经用了挺久了,一直没有使用插件,有些时候不使用插件总* 感觉缺点什么,当然也是因为没有找到一些好的管理插件的方法,这次不* 小心找到了Vundle,感觉很不错,尝试用起来,这样效率能提高不少。**                                    2016-4-9 深圳 南山平山村 曾剑锋*********************************************************************/一、参考文档:1. Downloading Vimhttp://www.vim.org/download.php#others2. Help Maintain Vundlehttps://github.com/VundleVim/Vundle.vim3. 所需即所获:像 IDE 一样使用 vimhttps://github.com/yangyangwithgnu/use_vim_as_ide4. Vim Scriptshttp://vim-scripts.org/index.html5. Vim Scripts Browse allhttp://www.vim.org/scripts/script_search_results.php6. Vundle PluginInstall 'Valloric/YouCompleteMe' 卡死在 processing 的可能性有?https://www.v2ex.com/t/2165497. Linux中源码安装编译Vimhttp://www.linuxidc.com/Linux/2014-04/99717.htm8. Vim自动补全神器:YouCompleteMehttp://blog.jobbole.com/58978/9. 像 IDE 一样使用 Vimhttp://www.tuicool.com/articles/f6feae
        二、Vundle1. Vundle安装:zengjf@zengjf:~$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vimCloning into '/home/zengjf/.vim/bundle/Vundle.vim'...remote: Counting objects: 3016, done.remote: Total 3016 (delta 0), reused 0 (delta 0), pack-reused 3016Receiving objects: 100% (3016/3016), 899.90 KiB | 185 KiB/s, done.Resolving deltas: 100% (1040/1040), done.zengjf@zengjf:~$ 2. Configure Plugins(.vimrc) hacking:" set compatible 就是让 vim 关闭所有扩展的功能,尽量模拟 vi 的行为。set nocompatible              " be iMproved, requiredfiletype off                  " required" set the runtime path to include Vundle and initialize" 添加运行时路径,用于包含Vundle和初始相关的工作" zengjf@zengjf:~/.vim/bundle/Vundle.vim$ pwd" /home/zengjf/.vim/bundle/Vundle.vim" zengjf@zengjf:~/.vim/bundle/Vundle.vim$ ls" autoload         doc              README.md        syntax" changelog.md     ftplugin         README_ZH_CN.md  test" CONTRIBUTING.md  LICENSE-MIT.txt  README_ZH_TW.md"
        set rtp+=~/.vim/bundle/Vundle.vimcall vundle#begin()" alternatively, pass a path where Vundle should install plugins" 当然,也可以通过这里传递参数作为插件安装地址"call vundle#begin('~/some/path/here')" let Vundle manage Vundle, required" 让Vundle管理Vundle,这是必须的Plugin 'VundleVim/Vundle.vim'" The following are examples of different formats supported." Keep Plugin commands between vundle#begin/end." 下面是一些不同来源的插件的配置案例" 请将这些插件配置放置于vundle#begin/end之间" plugin on GitHub repo" GitHub 仓库插件格式Plugin 'tpope/vim-fugitive'" plugin from http://vim-scripts.org/vim/scripts.html" vim 官方插件配置方法,写入名字就行了Plugin 'L9'" Git plugin not hosted on GitHub" git服务器插件,但不是在GitHub上面Plugin 'git://git.wincent.com/command-t.git'" git repos on your local machine (i.e. when working on your own plugin)" git 仓库在自己的电脑上Plugin 'file:///home/gmarik/path/to/plugin'" The sparkup vim script is in a subdirectory of this repo called vim." Pass the path to set the runtimepath properly.Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}" Install L9 and avoid a Naming conflict if you've already installed a" different version somewhere else." 已经存在一个L9的插件了,另外再安装一个名字叫L9的插件Plugin 'ascenator/L9', {'name': 'newL9'}" All of your Plugins must be added before the following linecall vundle#end()            " requiredfiletype plugin indent on    " required" To ignore plugin indent changes, instead use:"filetype plugin on"
        " Brief help   简短的帮助说明" :PluginList       - lists configured plugins   列出所有的安装了的插件" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate" :PluginSearch foo - searches for foo; append `!` to refresh local cache" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal"
        " see :h vundle for more details or wiki for FAQ" Put your non-Plugin stuff after this line3. plugin installvim中执行":PluginInstall"4. plugin cleanvim中执行":PluginClean"5. plugin updatevim中执行":PluginUpdate"三、插件问题:1. Vim版本太低:1. 卸载Vimsudo apt-get remove vim  sudo apt-get remove vim-runtime  sudo apt-get remove gvim  sudo apt-get remove vim-tiny  sudo apt-get remove vim-common  sudo apt-get remove vim-gui-common2. 下载Vim源码:http://www.vim.org/download.php#unix3. ./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/ --enable-perlinterp --enable-gui=gtk2 --enable-cscope --enable-luainterp --enable-perlinterp --enable-multibyte --prefix=/usr4. sudo make VIMRUNTIMEDIR=/usr/share/vim/vim745. sudo make install2. YouCompleteMe:1. 安装时,vim卡在YouCompleteMe那里很久,YouCompleteMe对应的目录有没有文档更新。    2. github: https://github.com/Valloric/YouCompleteMe3. git clone --recursive https://github.com/Valloric/YouCompleteMe.git4. 安装失败:zengjf@zengjf:~/.vim/bundle/YouCompleteMe$ ./install.sh --clang-completeWARNING: this script is deprecated. Use the install.py script instead.CMake Error at CMakeLists.txt:28 (cmake_minimum_required):CMake 2.8.11 or higher is required.  You are running version 2.8.7-- Configuring incomplete, errors occurred!Traceback (most recent call last):File "/home/zengjf/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 445, in <module>Main()File "/home/zengjf/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 434, in MainBuildYcmdLib( args )File "/home/zengjf/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 331, in BuildYcmdLibsubprocess.check_call( [ 'cmake' ] + full_cmake_args )File "/usr/lib/python2.7/subprocess.py", line 511, in check_callraise CalledProcessError(retcode, cmd)subprocess.CalledProcessError: Command '['cmake', '-G', 'Unix Makefiles', '-DUSE_CLANG_COMPLETER=ON', '-DUSE_PYTHON2=ON', '/home/zengjf/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp']' returned non-zero exit status 1Traceback (most recent call last):File "./install.py", line 32, in <module>Main()File "./install.py", line 21, in Mainsubprocess.check_call( [ python_binary, build_file ] + sys.argv[1:] )File "/usr/lib/python2.7/subprocess.py", line 511, in check_callraise CalledProcessError(retcode, cmd)subprocess.CalledProcessError: Command '['/usr/bin/python2', '/home/zengjf/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py', '--clang-complete']' returned non-zero exit status 15. 目前未解决。四、.vimrc配置:set nocompatible              " be iMproved, requiredfiletype off                  " required" set the runtime path to include Vundle and initializeset rtp+=~/.vim/bundle/Vundle.vimcall vundle#begin()Plugin 'VundleVim/Vundle.vim'Plugin 'scrooloose/nerdcommenter'Plugin 'scrooloose/nerdtree'Plugin 'fholgado/minibufexpl.vim'Plugin 'wesleyche/SrcExpl'Plugin 'bufexplorer.zip'call vundle#end()            " requiredfiletype plugin indent on    " required" To ignore plugin indent changes, instead use:"filetype plugin on"
    " Brief help" :PluginList       - lists configured plugins" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate" :PluginSearch foo - searches for foo; append `!` to refresh local cache" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal"
    " see :h vundle for more details or wiki for FAQ" Put your non-Plugin stuff after this line
    ......五、插件情况:zengjf@zengjf:~/.vim/bundle$ lsbufexplorer.zip  nerdcommenter  SrcExpl      Vundle.vimminibufexpl.vim  nerdtree       taglist.vimzengjf@zengjf:~/.vim/bundle$ 

Vim Vundle 插件管理器相关推荐

  1. Vim安装插件管理器Vundle

    安装vundle $ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 默认安装在/.vim ...

  2. Vundle(Vim bundle) 是一个vim的插件管理器。

    其Github地址为: https://github.com/gmarik/vundle 如何使用Vundle  (个人使用环境为ubuntu 12.10) 1. 从Github下载vundle到本地 ...

  3. vim win装_vim插件管理器的安装和配置-windows

    # vim插件管理器的安装和配置-windows ### 前言 ----------------------------- - vim做一框功能强大的编辑器,扩展功能令人称奇,插件机制非常灵活 - 本 ...

  4. vim 中的杀手级插件: vundle (vim 插件管理器)

    From:http://zuyunfei.com/2013/04/12/killer-plugin-of-vim-vundle/ vundle.txt:https://github.com/Vundl ...

  5. vim插件管理器:Vundle的介绍及安装(很全)(转载)

    转载自:https://blog.csdn.net/zhangpower1993/article/details/52184581 背景 Vim缺乏默认的插件管理器,所有插件的文件都散布在~/.vim ...

  6. vim插件管理器:Vundle的介绍及安装(很全)

    背景 Vim缺乏默认的插件管理器,所有插件的文件都散布在~/.vim下的几个文件夹中,插件的安装与更新与删除都需要自己手动来,既麻烦费事,又可能出现错误. Vundle简介 Vundle 是 Vim ...

  7. Vim插件管理器——Vundle

    文章目录 Vim插件管理器--Vundle Vundle简介 如何安装 1 确保已经安装git 2 安装Vundle 3 配置 4 运行 几个常用的Vundle命令 Vim插件管理器--Vundle ...

  8. Linux Vim插件管理器Vundle安装和使用

    Vundle是vim的一个插件管理器, 同时它本身也是vim的一个插件.插件管理器用于方便.快速的安装.删除.Vim更新插件.vim Vundle插件官方地址:https://github.com/V ...

  9. Vim使用(二)——插件管理器vundle及nerdtree和ctags插件

    文章目录 一.vim插件管理器. 1.1 安装步骤 1.2 使用方式 二.ctags插件的安装 2.1 安装步骤: 2.2 使用方式: 一.vim插件管理器. 插件管理器可以方便管理vim插件的安装. ...

最新文章

  1. CTFHUB HTTP请求方式 HTTP 请求方法, HTTP/1.1协议中共定义了八种方法(也叫动作)来以不同方式操作指定的资源。
  2. Xilinx基于模型的设计工具—Model Composer
  3. hdu 1251+hdu 1671(字典树)
  4. TRUNCATE,DELETE,DROP的区别
  5. 人文英语学习品牌「友邻优课」携手神策数据 精细化数据分析让每一次互动都有价值
  6. Android之BaseQuickAdapter.setOnItemChildClickListener点击死人也没反应的原因
  7. HTML页面显示透视效果,html – CSS – 对背景图像的“敲除”/透视效果
  8. 前端学习(2082):const得使用和注意点
  9. 002 exercises
  10. 通用模块 -- Dubbo 用户模块
  11. 对于李群和李代数的理解
  12. (36)System Verilog线程并行执行(fork-join)
  13. mybatis3.2.2的一些测试
  14. C#使用Minidump导出内存快照Minidumper
  15. NIOS II 烧写epcs中遇到的问题
  16. Android视频媒体播放器
  17. 基于Android studio智能快递柜存放取物系统java
  18. 迅镭激光打标机3mm激光深度高精度打标工艺-激光雕刻
  19. 国产系统独创!Linux环境完美兼容原生安卓App
  20. 记一次修改阿里云DNS解析问题

热门文章

  1. 学习数据结构 二叉查找树(binary search tree)
  2. 打造RIS服务器 软件在局域网中自动安装
  3. 华尔街风暴的深层原因
  4. Apache发布Groovy 2.5正式版及3.0预览版
  5. 《Microduino实战》——第2章 Microduino
  6. 一天一点linux(9):ubuntu下如何搭建LAMP开发环境?
  7. 计算几何基础模板(2014.10.6一直沿用)
  8. wordpress如何禁用后台控制面板内容
  9. [翻译]帮助文档-jQuery 选择器
  10. Silverlight 解谜游戏 之三 消除名单