Using vi mode in bash shell