files-complete : completefunc which looks to all files in the current directory
script karma |
Rating 0/0,
Downloaded by 694 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Matej Cepl |
|
script type |
utility |
|
description |
completefunc which uses for completion all files in the current directory with the same file extension as the current file.
Requires external grep command, so Windows users have to install some port of it. (requires ``-h`` and ``-o`` non-POSIX switches, but all BSD and GNU versions of grep have them).
For example when you have per-chapter organization of novel, then this will complete using all words in the novel.
For support, issue tracking etc. you can use website https://gitlab.com/mcepl/vim-files-complete
Works with any plugin management system using Git URL https://gitlab.com/mcepl/vim-files-complete.git
Based on ideas from the answer on StackExchange https://stackoverflow.com/a/18203966/164233 |
|
install details |
For activation add::
set completefunc=filescompl#complete
to your ``~/.vimrc`` and then you can use ``<C-X><C-U>`` to invoke the completion. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.222.24.251
|