Created
November 20, 2011 21:20
-
-
Save mongrelP/1380947 to your computer and use it in GitHub Desktop.
neobundle_installer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#### NeoBundle Installer #### | |
#################################################################### | |
#### Licence : CC0 http://creativecommons.org/publicdomain/zero/1.0/ | |
#### or NYSL http://www.kmonos.net/nysl/NYSL.TXT | |
#################################################################### | |
### need git and bash , you have to install | |
mkdir -p ~/.vim/bundle | |
git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim | |
mv ~/.vimrc ~/.vimrc.old | |
cat << EOS > ~/.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' | |
NeoBundle 'Shougo/echodoc' | |
NeoBundle 'Shougo/neocomplcache' | |
NeoBundle 'Shougo/unite.vim' | |
NeoBundle 'Shougo/vim-vcs' | |
NeoBundle 'Shougo/vimfiler' | |
NeoBundle 'Shougo/vimproc' | |
NeoBundle 'Shougo/vimshell' | |
NeoBundle 'mattn/zencoding-vim' | |
NeoBundle 'mattn/gist-vim' | |
NeoBundle 'thinca/vim-quickrun' | |
NeoBundle 'thinca/vim-ref' | |
NeoBundle 'vim-ruby/vim-ruby' | |
NeoBundle 'mrkn256.vim' | |
NeoBundle 'rails.vim' | |
NeoBundle 'surround.vim' | |
filetype plugin indent on | |
"colorscheme | |
colorscheme mrkn256 | |
"setup gist.vim | |
let g:gist_detect_filetype = 1 | |
"let g:github_user = '' | |
"let g:github_token = '' | |
EOS | |
echo '' | |
echo 'after run, do this commands' | |
echo '$ cd ~/.vim/bundle/vimproc' | |
echo '$ (n,g)make -f your_environment_makefile' | |
echo '' | |
echo 'your old .vimrc moved ~/.vimrc.old' | |
echo '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment