Re: use vi mode in psql

From: Rory Campbell-Lange <rory(at)campbell-lange(dot)net>
To: Postgresql Novice List <pgsql-novice(at)postgresql(dot)org>
Subject: Re: use vi mode in psql
Date: 2002-07-22 15:20:35
Message-ID: 20020722152035.GA25552@campbell-lange.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)campbell-lange(dot)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(at)campbell-lange(dot)net>
<www.campbell-lange.net>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message kenc 2002-07-22 15:51:38 Re: Generating custom statistics rows puzzler...left join
Previous Message Ken Corey 2002-07-22 14:04:34 Generating custom statistics rows puzzler...left join on parts of intervals?