sponsor Vim development Vim logo Vim Book Ad

CmdlineCompl.vim : Word completion on the command line

 script karma  Rating 4/3, Downloaded by 709    Comments, bugs, improvements  Vim wiki

created by
Po Shan Cheah
script type
See also:



Based on ideas from the above two plugins, but also adds the following features:
* Word completion in a regular command line. (in addition to word completion in a search command line)
* Word completion in the middle of the command line. (not just the end of the command line)

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.


To inhibit loading of this plugin, define the loaded_cmdline_compl variable.

To change the key mapping, cmap the desired key to <Plug>CmdlinecomplComplete. For example:

    cmap <F11> <Plug>CmdlinecomplComplete
install details
Drop this file into your plugin directory.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cmdlinecompl.vim 1.0 2006-03-01 6.0 Po Shan Cheah Initial upload
ip used for rating:

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