Improving vi mode for bash.