Skip to content

AlxHnr/ctrlp-find-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctrlp-find-cache

Asynchronous cache for ctrlp.vim. This plugin spawns find as a background process to cache its output for subsequent runs. Thus you can only search trough files, which already existed at the time of the previous search.

This plugin depends on ctrlp.vim, bash, and various commands from coreutils. Almost all GNU/Linux distributions have them preinstalled already.

Configuration

By default this plugin works out of the box. If you have not set g:ctrlp_user_command, it will be set for you. The content of this variable will be the concatenation of the following two variables:

g:ctrlp_find_cache#command

This variable contains the full path to the find-cache shell script, which provides the core functionality of this plugin.

g:ctrlp_find_cache#arguments

This variable contains extra arguments, which will be passed to find. It defaults to various flags, which are needed to skip VCS directories, cache directories, build files and various file formats which Vim can't open.

If you want to know to which value this variable defaults to, take a look at the source code. Changing this variable after Vim has started won't affect ctrlp, unless you also update g:ctrlp_user_command.

License

Released under the zlib license.

About

Deprecated: Asynchronous cache for ctrlp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published