• vim配置之安装脚本


    vimConfig/install/install.sh

    1 git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
    2 
    3 cp ./_vimrc.vim  ~/.vimrc
    4 echo "Install success!";

    vimConfig/install/remove.sh

    1 rm -rf ~/.vim/bundle
    2 rm  ~/.vimrc
    3 echo "remove success!";

    vimConfig/install/_vimrc.vim

     1 set nocompatible               " be iMproved
     2 filetype off                   " required!
     3 
     4 set rtp+=~/.vim/bundle/vundle/
     5 call vundle#rc()
     6 
     7 Bundle 'gmarik/vundle'
     8 
     9 Bundle 'a.vim'
    10 Bundle 'molokai'
    11 Bundle 'The-NERD-tree'
    12 Bundle 'minibufexpl.vim'
    13 Bundle 'Lokaltog/vim-powerline'
    14 Bundle 'Tagbar'
    15 Bundle 'AutoComplPop'
    16 Bundle 'Auto-Pairs'
    17 Bundle 'ctrlp.vim'
    18 
    19 "这个需要7.4
    20 "Bundle 'Valloric/YouCompleteMe'
    21 
    22 filetype plugin indent on     " required!
    23 
    24 "自定义的配置文件路径
    25 set runtimepath+=~/vimConfig

    vimConfig/install/readme

    ctrl+p快速查找
    F12开关tagbar
    F2开启nerd-tree
    
    7.4的vim支持ycm插件,mac下brew安装的vim支持ycm,vim通过BundleInstall后,ycm应该会提示安装失败,我们这么做
    cd ~/.vim/bundle/YouCompleteMe/
    ./install.sh --clang-completer
    即可
  • 相关阅读:
    更改Ubuntu默认python版本的方法
    hdu 5656 CA Loves GCD(dp)
    hdu 5655 CA Loves Stick
    hdu 5650 so easy (异或)
    2016.3.28
    Android 之 ExpandableListView 的使用
    Android之字符串的拆分-split
    Android之SAX解析XML
    hdu 5642 King's Order(数位dp)
    hdu 5641 King's Phone(暴力模拟题)
  • 原文地址:https://www.cnblogs.com/ziyouchutuwenwu/p/3509513.html
Copyright © 2020-2023  润新知