On 2009-08-17, Bob Gobeille <bob.gobeille@xxxxxx> wrote: > I use PSQL to set my editor to vi. This works as expected in psql, \e > brings up vi and I edit away. > > Is there any way to set my psql command line editor to also use vi > (just like I do with "set -o vi" in bash)? > I can't find this in the docs. psql command-line eritor is "readline" and being a GNU product it defaults to emacs mode :) do "man 3 realine" for more info search for INPUTRC - less uses vi bindings :) -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general