If you already enjoy writing behat steps with vim, you are certainly using the cucumber runtime files developed by Tim Pope. Those are great, as they provide you syntax and indentation for Gherkin (Behat and Cucumber plain text DSL).
Cucumber plugin also has autocompletion of steps, mappings to jump to step definition from the feature file, and a compiler plugin. There's one hiccup, though: all that good stuff was made for cucumber and is not working with Behat.
But, wait! Now we have a behat plugin, we can enjoy these features too! So, let's go straight to the point:
Download and installation
You can find here the plugin and the installation details.
Insight of autocompletion
As you can see, the named subpatterns of mink definitions have been replaced
with a placeholder, that you can modify later. Actually all custom characters
from your regex are replaced (for instance
"([^"]*)" would be replaced by
Insight of compiler