CmdlineCompl.vim--Cheah is a project mainly written in Vim Script, it's free.
Word completion on the command line
This is a mirror of http://www.vim.org/scripts/script.php?script_id=1480
See also:
vimscript#474 vimscript#147
Description:
Based on ideas from the above two plugins, but also adds the following features:
To use, hit F12 while in the command line. Hit F12 again to get a different completion. Repeated invocations will cycle through all possible completions. Word completion will be done in the context of the current buffer.
Customization:
To inhibit loading of this plugin, define the loaded_cmdline_compl variable.
To change the key mapping, cmap the desired key to
cmap <F11> <Plug>CmdlinecomplComplete