@@ -14,14 +14,24 @@ autocomplete this plugin have several code inspection features,
1414* Go to definition of a symbol. Also context aware.
1515* Automatically add use statement of current completed word. Also added plugin
1616 command of this action.
17- * If (Unite ) plugin installed following sources are available,
17+ * If [ unite.vim ] ( https://github.com/Shougo/unite.vim/ ) plugin installed following sources are available,
1818 * ` phpcomplete/files ` : Lists PHP files of the project.
1919 * ` phpcomplete/vendors ` : Lists vendor directories
2020 * ` phpcomplete/extends ` : Lists classes that extends the class guessed from
2121 the current cursor word.
2222 * ` phpcomplete/implements ` : Lists classes that implements the class guessed
2323 from the current cursor word.
2424
25+ Demo videos (click on the image to goto youtube)
26+ -----------------------------------------------
27+ ## Autocomplete demo video:
28+
29+ [ ![ ScreenShot] ( http://img.youtube.com/vi/yZYFKslqkC8/maxresdefault.jpg )] ( http://www.youtube.com/watch?v=yZYFKslqkC8 )
30+
31+ ## Unite sources demo video:
32+
33+ [ ![ ScreenShot] ( http://i1.ytimg.com/vi/Wd5G7QA3OFw/maxresdefault.jpg )] ( http://www.youtube.com/watch?v=Wd5G7QA3OFw )
34+
2535Installation
2636-------------
2737
@@ -40,15 +50,15 @@ various plugin managers are given bellow.
4050Issue following commands.
4151
4252``` sh
43- git clone https://github.com/Shougo/vimproc.vim.git ~ /.vim/bundle
53+ git clone https://github.com/Shougo/vimproc.vim.git ~ /.vim/bundle/vimproc.vim
4454cd ~ /.vim/bundle/vimproc.vim
4555make
4656cd ..
47- git clone https://github.com/Shougo/unite.vim.git ~ /.vim/bundle
48- git clone https://github.com/m2mdas/phpcomplete-extended.git ~ /.vim/bundle
57+ git clone https://github.com/Shougo/unite.vim.git ~ /.vim/bundle/unit.vim
58+ git clone https://github.com/m2mdas/phpcomplete-extended.git ~ /.vim/bundle/phpcomplete-extended
4959```
5060
51- ## NeoBundle (prefered )
61+ ## NeoBundle (preferred )
5262Put these lines in ` .vimrc ` and issue ` source % ` command
5363
5464``` vim
@@ -122,6 +132,13 @@ Neocomplete support is built-in and my preferred autocomplete plugin. It needs
122132vim with lua bindings. To know more about installation refer to the plugin
123133repository.
124134
135+ ## [ supertab] ( https://github.com/ervandew/supertab )
136+
137+ Minimal configuration for supertab support,
138+
139+ autocmd FileType php setlocal omnifunc=phpcomplete_extended#CompletePHP
140+ let g:SuperTabDefaultCompletionType = "<c-x><c-o>"
141+
125142## [ YouCompleteMe] ( https://github.com/Valloric/YouCompleteMe )
126143
127144If ` omnifunc ` set the omni completer of ` YouCompleteMe ` should get the completion
@@ -138,7 +155,7 @@ and vim part is responsible for providing autocomplete menu entries based on the
138155index. For reference see
139156[ phpcomplete-extended-symfony] ( https://github.com/m2mdas/phpcomplete-extended-symfony )
140157and
141- [ phpcomplete-extended-laravlel] ( https://github.com/m2mdas/phpcomplete-extended-laravlel ) plugins.
158+ [ phpcomplete-extended-laravlel] ( https://github.com/m2mdas/phpcomplete-extended-laravel ) plugins.
142159
143160License
144161-------
0 commit comments