A Vim plugin that auto-completes functions for VEX (SideFX Houdini's scripting language).
Select one of the VEX functions from Vim's tag completion and cycle through the function's arguments, one at a time.
This plugin can be used as-is. But if you'd like arguments to be "steppable" like they are in the above demo, the UltiSnips Vim plugin must be installed.
If you're using a Vim plugin mananger such as vim-plug, all you have to do is add these lines to your .vimrc:
Plug 'SirVer/ultisnips'
Plug 'ColinKennedy/vim-vex-complete'
Restart Vim, run :PlugInstall
, and you're ready to go.
If you don't use vim-plug, use your Vim plugin manager's equivalent commands.
vim-vex-complete relies on UltiSnips to move between the arguments. The mappings that are used are set by UltiSnips, not this plugin.
That said, UltiSnips default to "Ctrl + j" to move forward and "Ctrl + k" to move backwards. You can set your own mappings by adding these lines to your .vimrc:
let g:UltiSnipsJumpForwardTrigger = <c-j>
let g:UltiSnipsJumpBackwardTrigger = <c-k>