Complval is a plugin for Vim which provides auto-completion of variable values following the :let command in the command line.
For those unfamiliar with Vim, it is a powerful text editor initially designed for Amiga systems by Bram Moolenaar way back in 1991. Vim was intended as an expanded version of the vi text editor, with many more features that proved to be incredibly helpful in editing source code. The complete name for Vim is Vi Improved, and it is extremely popular on Unix-like operating systems.
Vim is free and open-source software, and it is released under a software license compatible with the GNU General Public License. The program license also includes clauses for charityware. The program interface does not rely on menus or icons but instead depends on commands given in a text user interface. The GUI version, gVim, does add menus and toolbars, but the full functionality is still expressed through its command line mode.
For many users, learning Vim may be difficult and slow initially. However, once the basics are understood, progress comes quickly, and editing becomes more efficient. To help with this, Vim has an inbuilt tutorial for beginners, as well as the Vim Users' Manual that details all the basic and advanced features. This manual can be accessed from within Vim itself or found online. Additionally, Vim has a help facility that allows users to query and navigate through commands and features.
To use Complval, you have to ensure you meet the requirements of having Vim installed. Once you have confirmed that, copy the Complval file into your autoload folder. You can create a mapping in your Vimrc using the cno < C-G > < c-r >=complval#VarComplValue() < cr > command that maps c_Ctrl-G for completion. Do not use the tab because it already completes other things.
Overall, Complval is an excellent Vim plugin that significantly enhances your Vim text editing experience. Its auto-complete feature for variable values is exceptional and can save users significant time while writing code, while Vim's flexibility and feature-rich interface make it an ideal tool for editing source code.
Version 0.1: N/A