Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
niggler
· 13y ago · 0 comments
set -o vi
sets vim bindings for bash (and there's a similar thing for the libreadline)
Comments
[–]
krichman
13y ago
you have changed my life
[–]
mitchty
13y ago
aka:
echo 'set -o vi' >> ~/.inputrc
And you no longer need to have it in your bashrc at all any longer because bash uses readline.