From af2f64864de94c95dda0c1c8ba89d8e444aac7f0 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Mon, 26 Aug 2013 22:04:55 +0600 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D1=91=D0=BD=20=D1=84?= =?UTF-8?q?=D0=B0=D0=B9=D0=BB=20README=20neocomplcache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/soft/vim/vim/README | 110 ------------------------------------------------ 1 file changed, 110 deletions(-) delete mode 100644 etc/soft/vim/vim/README diff --git a/etc/soft/vim/vim/README b/etc/soft/vim/vim/README deleted file mode 100644 index 10c438b..0000000 --- a/etc/soft/vim/vim/README +++ /dev/null @@ -1,110 +0,0 @@ -Description: -neocomplcache performs keyword completion by making a cache of keyword in -buffer. Because I implemented it by paying own expenses unlike the keyword -completion including the Vim composing type, neocomplcache can be customized -flexibly. Unfortunately neocomplcache may use more memory than other -plugins. - -Installation: -1: Extract the file and Put files in your Vim directory - (usually ~/.vim/ or Program Files/Vim/vimfiles on Windows). -2: Execute |:NeoComplCacheEnable| command or -let g:neocomplcache_enable_at_startup = 1 -in your .vimrc. - -Caution: -Because all variable names are changed in neocomplcache Ver.5, there is not -backward compatibility. In the case of the upgrade, you should use the next -script which Mr.thinca made. -http://gist.github.com/422503 - -Screen shots: -Quick match. -http://3.bp.blogspot.com/_ci2yBnqzJgM/TD1PeahCmOI/AAAAAAAAADc/Rz_Pbpr92z4/s1600/quick_match.png -Snippet completion like snipMate. -http://3.bp.blogspot.com/_ci2yBnqzJgM/SfkgaHXLS0I/AAAAAAAAAA4/TmaylpFl_Uw/s1600-h/Screenshot2.PNG -Original filename completion. -http://1.bp.blogspot.com/_ci2yBnqzJgM/TD1O5_bOQ2I/AAAAAAAAADE/vHf9Xg_mrTI/s1600/filename_complete.png -Register completion. -http://1.bp.blogspot.com/_ci2yBnqzJgM/TD1Pel4fomI/AAAAAAAAADk/YsAxF8i6r3w/s1600/register_complete.png -Omni completion. -http://2.bp.blogspot.com/_ci2yBnqzJgM/TD1PTolkTBI/AAAAAAAAADU/knJ3eniuHWI/s1600/omni_complete.png -Completion with vimshell(http://github.com/Shougo/vimshell). -http://1.bp.blogspot.com/_ci2yBnqzJgM/TD1PLfdQrwI/AAAAAAAAADM/2pSFRTHwYOY/s1600/neocomplcache_with_vimshell.png -Vim completion. -http://1.bp.blogspot.com/_ci2yBnqzJgM/TD1PfKTlwnI/AAAAAAAAADs/nOGWTRLuae8/s1600/vim_complete.png - -Setting examples: -" Disable AutoComplPop. -let g:acp_enableAtStartup = 0 -" Use neocomplcache. -let g:neocomplcache_enable_at_startup = 1 -" Use smartcase. -let g:neocomplcache_enable_smart_case = 1 -" Use camel case completion. -let g:neocomplcache_enable_camel_case_completion = 1 -" Use underbar completion. -let g:neocomplcache_enable_underbar_completion = 1 -" Set minimum syntax keyword length. -let g:neocomplcache_min_syntax_length = 3 -let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*' - -" Define dictionary. -let g:neocomplcache_dictionary_filetype_lists = { - \ 'default' : '', - \ 'vimshell' : $HOME.'/.vimshell_hist', - \ 'scheme' : $HOME.'/.gosh_completions' - \ } - -" Define keyword. -if !exists('g:neocomplcache_keyword_patterns') - let g:neocomplcache_keyword_patterns = {} -endif -let g:neocomplcache_keyword_patterns['default'] = '\h\w*' - -" Plugin key-mappings. -imap (neocomplcache_snippets_expand) -smap (neocomplcache_snippets_expand) -inoremap neocomplcache#undo_completion() -inoremap neocomplcache#complete_common_string() - -" SuperTab like snippets behavior. -"imap neocomplcache#sources#snippets_complete#expandable() ? "\(neocomplcache_snippets_expand)" : pumvisible() ? "\" : "\" - -" Recommended key-mappings. -" : close popup and save indent. -inoremap neocomplcache#smart_close_popup() . "\" -" : completion. -inoremap pumvisible() ? "\" : "\" -" , : close popup and delete backword char. -inoremap neocomplcache#smart_close_popup()."\" -inoremap neocomplcache#smart_close_popup()."\" -inoremap neocomplcache#close_popup() -inoremap neocomplcache#cancel_popup() - -" AutoComplPop like behavior. -"let g:neocomplcache_enable_auto_select = 1 - -" Shell like behavior(not recommended). -"set completeopt+=longest -"let g:neocomplcache_enable_auto_select = 1 -"let g:neocomplcache_disable_auto_complete = 1 -"inoremap pumvisible() ? "\" : "\" -"inoremap neocomplcache#smart_close_popup() . "\" - -" Enable omni completion. -autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS -autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags -autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS -autocmd FileType python setlocal omnifunc=pythoncomplete#Complete -autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags - -" Enable heavy omni completion. -if !exists('g:neocomplcache_omni_patterns') - let g:neocomplcache_omni_patterns = {} -endif -let g:neocomplcache_omni_patterns.ruby = '[^. *\t]\.\w*\|\h\w*::' -"autocmd FileType ruby setlocal omnifunc=rubycomplete#Complete -let g:neocomplcache_omni_patterns.php = '[^. \t]->\h\w*\|\h\w*::' -let g:neocomplcache_omni_patterns.c = '\%(\.\|->\)\h\w*' -let g:neocomplcache_omni_patterns.cpp = '\h\w*\%(\.\|->\)\h\w*\|\h\w*::'