Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
let s:bundle_dir = expand("~/.bundle")
if !isdirectory(s:bundle_dir)
call mkdir(s:bundle_dir)
call system( 'git clone https://github.com/Shougo/neobundle.vim.git ' . s:bundle_dir )
endif
execute 'set runtimepath+='.s:bundle_dir.'/neobundle.vim'
call neobundle#rc(s:bundle_dir)
NeoBundle 'taichouchou2/alpaca_english', {
\ 'rev' : 'development',
\ }
NeoBundleLazy 'mattn/excitetranslate-vim', {
\ 'depends': 'mattn/webapi-vim',
\ 'autoload' : { 'commands': ['ExciteTranslate']}
\ }
NeoBundleLazy 'Shougo/neocomplcache', {
\ 'depends':
\ 'rev': 'ver.8',
\ 'autoload' : {
\ 'insert' : 1,
\ },
\ }
NeoBundleLazy 'Shougo/unite.vim', {
\ 'autoload' : {
\ 'commands' : [ {
\ 'name' : 'Unite',
\ 'complete' : 'customlist,unite#complete_source'},
\ 'UniteBookmarkAdd', 'UniteClose', 'UniteResume',
\ 'UniteWithBufferDir', 'UniteWithCurrentDir', 'UniteWithCursorWord',
\ 'UniteWithInput', 'UniteWithInputDirectory']
\ }}
filetype plugin indent on
" you have to remove other complete plugin if you want to use neocomplcache
let g:neocomplcache_enable_at_startup = 1
let g:neocomplcache_enable_auto_select=0
let g:neocomplcache_enable_camel_case_completion = 1
let g:neocomplcache_enable_underbar_completion = 1
let g:neocomplcache_force_overwrite_completefunc = 1
let g:neocomplcache_skip_auto_completion_time = '1'
" ------------------------------------
" alpaca_english enable
" ------------------------------------
let g:alpaca_english_enable=1
let g:alpaca_english_max_candidates=100
let g:alpaca_english_enable_duplicate_candidates=1
" ------------------------------------
" excite
" ------------------------------------
xnoremap e :ExciteTranslate<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment