Map commands in `.vimrc` to align Cucumber complient Feature File steps on the space after the keywords: " Use Tabularize to set shortcute `,as` to align on feature file step keywords let mapleader=',' nmap as :Tab /^\W*[Given\|When\|Then\|And][a-zA-Z]*\zs\W/r0c0l0 vmap as :Tab /^\W*[Given\|When\|Then\|And][a-zA-Z]*\zs\W/r0c0l0 So this: Feature: VIM Tabularize Align Example Scenario Outline: Tabularize can align steps Given I have a foo When I do bar And bar responds Then the bar response has And the bar response is successful Examples: Bar Responses | resp-obj | | baz | | egg. | | spam. | Becomes this: Feature: VIM Tabularize Align Example Scenario Outline: Tabularize can align steps Given I have a foo When I do bar And bar responds Then the bar response has And the bar response is successful Examples: Bar Responses | resp-obj | | baz | | egg. | | spam. |