Skip to content

Instantly share code, notes, and snippets.

@zhaocai
Created May 2, 2013 17:33
Show Gist options
  • Save zhaocai/5503885 to your computer and use it in GitHub Desktop.
Save zhaocai/5503885 to your computer and use it in GitHub Desktop.
set nocompatible
let $VIMHOME = $HOME . '/.vim'
set runtimepath=$VIMRUNTIME,$VIMHOME,$VIMHOME/after
let g:bundle_home = expand($VIMHOME . '/bundle')
if has('vim_starting')
exec 'set runtimepath+=' . g:bundle_home . '/neobundle.vim/'
endif
call neobundle#rc(g:bundle_home)
NeoBundleFetch 'Shougo/neobundle.vim'
NeoBundle 'Shougo/neobundle-vim-scripts'
NeoBundle 'zhaocai/unite.vim',
\ { 'lazy' : 1
\ , 'autoload' : {
\ 'commands' : [
\ {'name' : 'Unite',
\ 'complete' : 'customlist,unite#complete_source'},
\ 'UniteWithCursorWord', 'UniteWithInput',
\ 'UniteWithCurrentDir', 'UniteWithBufferDir'
\ ],
\ 'function_prefix' : 'unite' ,
\ }
\ }
NeoBundleLazy 'zhaocai/unite-outline', {
\ 'autoload' : {
\ 'unite_sources' : 'outline'},
\ }
filetype plugin indent on
" Enable syntax color.
syntax enable
" Installation check.
NeoBundleCheck
if !has('vim_starting')
call neobundle#call_hook('on_source')
endif
set secure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment