6 ms·
Also, this will turn on vi-style line editing in programs using GNU readline (things like mysql, psql, sqlite3): echo "set editing-mode vi" > ~/.inputrc F
by kree10 13y ago
Also, this will turn on vi-style line editing in programs using GNU readline (things like mysql, psql, sqlite3):
echo "set editing-mode vi" > ~/.inputrc
For programs linked against libedit instead (as on OS X):
echo "bind -v" > ~/.editrc