Re: psql command line editor - Mailing list pgsql-general

From kbarnard@kevinbarnard.net
Subject Re: psql command line editor
Date
Msg-id 26149B22-ECFA-4886-AB77-F20EBD03022E@kevinbarnard.net
Whole thread Raw
In response to Re: psql command line editor  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: psql command line editor
List 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


pgsql-general by date:

Previous
From: Steve Atkins
Date:
Subject: Re: psql command line editor
Next
From: Bob Gobeille
Date:
Subject: Re: psql command line editor