Tab autocompletion in bash vi shell mode
Try:
bind -q complete
to see if it's set.
To set it at the Bash prompt:
bind '"\C-i":complete'
It should already be set by default, but it may be overridden in /etc/inputrc
or ~/.inputrc
possibly inside a $if mode=vi
/ $endif
block. You can set for subsequent shell starts by adding this line to your ~/.inputrc
file:
"\C-i": complete