HubLot/vim-gromacs — pull request #18 by jbarnoud (2012-12-10 21:55:45+00:00)
Title: Contextual completion in mdp files

This pull-request add smart completion for mdp files using the omnicomplete mechanism of VIM. Keywords and values can be completed based on gromacs 4.5.4 manual. When completion is triggered for a value, only the authorized values for the particular key are suggested.

To activate the completion you need the following line in you .vimrc:

autocmd FileType mdp.gromacs set omnifunc=mdpcomplete#Complete

The completion is triggered by . See ":help compl-omni" for more information about omnicompletion.