Skip to content

Instantly share code, notes, and snippets.

@mongrelP
Created November 15, 2011 11:39
Show Gist options
  • Save mongrelP/1366868 to your computer and use it in GitHub Desktop.
Save mongrelP/1366868 to your computer and use it in GitHub Desktop.
neobundle

About

NeoBundle is Vim plugin manager.

Quick start

  1. Setup NeoBundle:

    $ mkdir -p ~/.vim/bundle
    $ git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
    
  2. Configure bundles:

    Sample .vimrc:

    set nocompatible               " be iMproved
    filetype plugin indent off     " required!
    
    if has('vim_starting')
      set runtimepath+=~/.vim/bundle/neobundle.vim/
      call neobundle#rc(expand('~/.vim/bundle/'))
    endif
    " let NeoBundle manage NeoBundle
    " required! 
    NeoBundle 'Shougo/neobundle.vim'
    "  recommended to install
    NeoBundle 'Shougo/vimproc'
     "after install, turn shell ~/.vim/bundle/vimproc, (n,g)make -f your_machines_makefile
    NeoBundle 'Shougo/vimshell'
    NeoBundle 'Shougo/unite.vim'
    
    " My Bundles here:
    "
    " original repos on github
    NeoBundle 'tpope/vim-fugitive'
    NeoBundle 'Lokaltog/vim-easymotion'
    NeoBundle 'rstacruz/sparkup', {'rtp': 'vim/'}
    " vim-scripts repos
    NeoBundle 'L9'
    NeoBundle 'FuzzyFinder'
    NeoBundle 'rails.vim'
    " non github repos
    NeoBundle 'git://git.wincent.com/command-t.git'
    " non git repos
    NeoBundle 'http://svn.macports.org/repository/macports/contrib/mpvim/'
    NeoBundle 'https://bitbucket.org/ns9tks/vim-fuzzyfinder'
    
    " ...
    
    filetype plugin indent on     " required! 
    "
    " Brief help
    " :NeoBundleList          - list configured bundles
    " :NeoBundleInstall(!)    - install(update) bundles
    " :NeoBundleClean(!)      - confirm(or auto-approve) removal of unused bundles
    "
  3. Install configured bundles:

    Launch vim, run :NeoBundleInstall.

Docs

see :h neobundle

@Shougo
Copy link

Shougo commented Nov 18, 2011

neobundle.vimの作者です。

" :NeoBundleList - list configured bundles

このコマンドは存在しないですねぇ……。
追加しておきます。

このQuick helpを参考に、ドキュメントを改善しておきました。ありがとうございます。

せっかく作ってもらったので、このQuick helpをneobundle.vimのREADMEとして取り込ませてもらっても良いですか?

@Shougo
Copy link

Shougo commented Nov 18, 2011

:NeoBundleListを実装しておきました。

@mongrelP
Copy link
Author

Markdownの書き方わからなかったのでコメントにライセンス書けなかっただけっすすません(´・ω・`)
NYSL/CC0でとりあえず好きに使ってくださいな。

@Shougo
Copy link

Shougo commented Nov 21, 2011

了解しました。では、取り込ませてもらいます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment