support autocomplete in vi mode, fixes #121