Re: psql command line editor

Поиск
Список
Период
Сортировка
От Bob Gobeille
Тема Re: psql command line editor
Дата
Msg-id 7FEB0322-92A5-4552-9ED4-F89FC89C90C5@hp.com
обсуждение исходный текст
Ответ на Re: psql command line editor  ("kbarnard@kevinbarnard.net" <kbarnard@kevinbarnard.net>)
Список pgsql-general
On Aug 17, 2009, at 1:38 PM, kbarnard@kevinbarnard.net wrote:

>
> 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


Whoo hoo.  Thank you .  Now it works like a charm.  :-)

Bob

В списке pgsql-general по дате отправления:

Предыдущее
От: Bob Gobeille
Дата:
Сообщение: Re: psql command line editor
Следующее
От: Jake Wheat
Дата:
Сообщение: SQL and pl/pgsql parser in Haskell