Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

Next:From: kencDate: 2002-07-22 15:51:38
Subject: Re: Generating custom statistics rows puzzler...left join
Previous:From: Ken CoreyDate: 2002-07-22 14:04:34
Subject: Generating custom statistics rows puzzler...left join on parts ofintervals?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group