Re: psql command line editor

From: "kbarnard(at)kevinbarnard(dot)net" <kbarnard(at)kevinbarnard(dot)net>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Bob Gobeille <bob(dot)gobeille(at)hp(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: psql command line editor
Date: 2009-08-17 19:38:19
Message-ID: 26149B22-ECFA-4886-AB77-F20EBD03022E@kevinbarnard.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Aug 17, 2009, at 1:46 PM, Alvaro Herrera wrote:

> Bob Gobeille 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.
>
> I have in my .inputrc this line:
>
> set editing-move vi
>
> and it works like a charm.
>

Shouldn't that be editing-mode not move

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bob Gobeille 2009-08-17 19:39:50 Re: psql command line editor
Previous Message Steve Atkins 2009-08-17 19:27:19 Re: psql command line editor