vi – the evolving ultrasaurus Sarah Allen's reflections on internet software and other topics Sat, 28 Feb 2009 20:53:20 +0000 en-US hourly 1 https://wordpress.org/?v=5.7.1 command line happiness /2009/02/command-line-happiness/ /2009/02/command-line-happiness/#respond Sat, 28 Feb 2009 20:53:20 +0000 /?p=884 Continue reading ]]> How could I have lived for so long without knowing that I could set up my command line with vi key bindings? Well, for anyone else who uses vi and bash, here’s the secret…

Create ~/.inputrc

set meta-flag on
set input-meta on
set output-meta on
set convert-meta off

add this to your .bashrc

set -o vi

Thanks Adam!

]]>
/2009/02/command-line-happiness/feed/ 0