sponsor Vim development Vim logo Vim Book Ad

complval.vim : complete a variable's value after :let in the command line

 script karma  Rating 5/2, Downloaded by 1187  Comments, bugs, improvements  Vim wiki

created by
Andy Wokula
 
script type
utility
 
description
Usage Example:
    :let foo = "bar"
    :let foo = <C-G>

Completable values are numbers, strings, lists and dicts.

Good for changing customization variables.
 
install details
copy the file into your autoload folder

create a mapping in your vimrc:
    cno <C-G> <c-r>=complval#VarComplValue()<cr>
This maps c_Ctrl-G for completion.  Tab should not be used, it already completes other things.
 

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
complval.vim 0.1 2007-12-13 7.0 Andy Wokula Initial upload
ip used for rating: 142.132.191.50

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.
   
Vim at Github