Change "tab" behavior to cycle and autocomplete

This feels more intuitive, what one would expect from tab completion in
any text editor.