Created
May 5, 2013 19:12
-
-
Save alpaca-tc/5521839 to your computer and use it in GitHub Desktop.
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
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