Last Updated: February 25, 2016
·
450
· aminz

Setting vi-mode in the shell

Issuing set -o vi at shell prompt enables vi-mode keybindings

set -o vi

Can be used in ~/.profile (.bashrc, .zshrc...) to get it automatically on login.