Add vi mode to shell.