Created
August 22, 2012 02:14
-
-
Save thinca/3421512 to your computer and use it in GitHub Desktop.
neobundle command
This file contains 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/sh | |
if [ -z "$1" ]; then | |
echo Usage: $0 {config-file} | |
exit | |
fi | |
vim -N -u NONE -i NONE -V1 -e -s --cmd "source $1" --cmd NeoBundleInstall! --cmd qall! |
This file contains 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
@if "%1" == "" ( | |
echo Usage: %0 {config-file} | |
exit | |
) | |
@vim -N -u NONE -i NONE -V1 -e -s --cmd "source %1" --cmd NeoBundleInstall! --cmd qall! |
This file contains 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
" neobundle コマンドに渡すファイルのサンプル | |
" vimrc から source することで共通で使える | |
set runtimepath^=~/.vim/bundle/neobundle.vim | |
call neobundle#rc(expand('~/.vim/bundle')) | |
NeoBundle 'Shougo/neobundle.vim' | |
NeoBundle 'Shougo/neocomplcache' | |
NeoBundle 'Shougo/neocomplcache-snippets-complete' | |
NeoBundle 'Shougo/vimshell' | |
NeoBundle 'Shougo/vimproc', { | |
\ 'build' : { | |
\ 'windows' : 'echo "Sorry, cannot update vimproc binary file in Windows."', | |
\ 'cygwin' : 'make -f make_cygwin.mak', | |
\ 'mac' : 'make -f make_mac.mak', | |
\ 'unix' : 'make -f make_unix.mak', | |
\ }, | |
\ } | |
NeoBundle 'Shougo/vimfiler' | |
NeoBundle 'Shougo/unite.vim' | |
NeoBundle 'Shougo/vinarise' | |
" ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
自分はtry使って対処してみました