Thread: use vi mode in psql

use vi mode in psql

From
Rory Campbell-Lange
Date:
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>

Re: use vi mode in psql

From
Rory Campbell-Lange
Date:
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>