zoukankan      html  css  js  c++  java
  • 【笔记】ubuntu 安装vim插件合辑

    感谢 czloveyeer  的转发与启示,我在他的基础上进行了实验和改动    原链接 http://blog.csdn.net/czloveyeer/article/details/8076284

     

    操作平台:  ubuntu LTS 12.04

    0.首先你得有vim 版本7.3以上 

    1.先装上exuberant catgs:

      sudo apt-get install exuberant-ctags

    2.安装vundle,用于安装vim插件,类似apt等软件安装包

      git clone http://github.com/gmarik/vundle.git $HOME/.vim/bundle/vundle

    3.获取ivim配置文件:

      git clone http://github.com/kepbod/ivim.git $HOME/ivim

    (然后仔细阅读$HOME/ivim文件夹中的readme文件中manual installation部分,照做就可以了,这里也一并列出)

    4. Make symbolic links of vimrc to your home directory,

      ln -s $HOME/ivim/vimrc $HOME/.vimrc

    3. Install NeoBundle to install and update plugins,

      git clone git://github.com/Shougo/neobundle.vim.git $HOME/.vim/bundle/neobundle.vim

    4. 安装插件

      在$HOME/.vim/bundle/neobundle.vim/bin/文件夹中,用命令

    neoinstall > /dev/null 2>&1

    5. 用vim随便打开一个文件,最好是c文件

    终端会提示:
    Not installed bundles: ['nerdcommenter', 'vim-multiple-cursors', 'vim-surround', 'emmet-vim', 'vim-pasta', 'vim-abolish', 'LaTeX-Box', 'splitjoin.vim', 'vim-hybrid', 'hardmode', 'vim-startify', 'unite.vim', 'vim-speeddating', 'tabular', 'vim-indent-guides', 'hammer.vim', 'vim-fugitive', 'vim-tmuxify', 'nerdtree', 'gitv', 'vim-rails', 'delimitMate', 'vim-airline', 'vim-bufferline', 'vim-gitgutter', 'vim-nerdtree-tabs', 'SingleCompile', 'vim-easymotion', 'limelight.vim', 'goyo.vim', 'golden-ratio', 'vim-repeat', 'neosnippet.vim', 'neocomplcache.vim', 'investigate.vim', 'undotree', 'CamelCaseMotion', 'neosnippet-snippets', 'targets.vim', 'syntastic', 'tagbar', 'base16-vim', 'vim-matchit', 'vim-colors-solarized', 'vim-snippets', 'vim-unimpaired', 'unite-outline', 'vim-polyglot']
    Install bundles now?
    输入y,开始安装所有插件

     

    ## 之后的一段日子里我会每天仔细研究一个上面列出的插件,并写到博客里。

    A mind needs books like a sword needs a whetstone.
  • 相关阅读:
    单独设置css的class属性
    理解闭包的使用方法
    npm常用命令和总结
    前端调试之服务器
    gulp 报错的处理——个人经验
    工作经验备忘
    c++:虚函数和纯虚函数(转载)
    snmp学习、配置
    sigar学习
    linux安装VSCode
  • 原文地址:https://www.cnblogs.com/yzsatcnblogs/p/4222331.html
Copyright © 2011-2022 走看看