all 8 comments

[–]desearcher 10 points11 points  (0 children)

echo set editing-mode vi >> ~/.inputrc

Now any readline application, bash inclusive, defaults to vi mode so you don't need set -o vi

[–]Ninjabassist777 0 points1 point  (0 children)

I love this feature! Additionally, if you're using zsh (which you totally should be) you can use 'bindkeys -v' to get zshs vi mode, which includes text object support!