sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

files-complete : completefunc which looks to all files in the current directory

 script karma  Rating 0/0, Downloaded by 19    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.
 

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
files-complete.tar.gz 1 2017-11-01 7.0 Matej Cepl Initial upload
ip used for rating: 54.162.139.105

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo