Re: use vi mode in psql - Mailing list pgsql-novice

From Rory Campbell-Lange
Subject Re: use vi mode in psql
Date
Msg-id 20020722152035.GA25552@campbell-lange.net
Whole thread Raw
In response to use vi mode in psql  (Rory Campbell-Lange <rory@campbell-lange.net>)
List pgsql-novice
I now know the answer!

Set your dot file for readline (.inputrc) with the following line:

    set editing-mode vi

Great to have an easily searchable history in psql...!

On 23/05/02, Rory Campbell-Lange (rory@campbell-lange.net) wrote:
> Is it possible to use bash vi keystrokes to navigate psql? I could have
> sworn that this was working for me, but now I can't reactivate it!

--
Rory Campbell-Lange
<rory@campbell-lange.net>
<www.campbell-lange.net>

pgsql-novice by date:

Previous
From: Ken Corey
Date:
Subject: Generating custom statistics rows puzzler...left join on parts of intervals?
Next
From: "Josh Berkus"
Date:
Subject: Re: