Re: psql command line editor

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: psql command line editor
Дата
Msg-id 20090817184631.GK4782@alvh.no-ip.org
обсуждение исходный текст
Ответ на psql command line editor  (Bob Gobeille <bob.gobeille@hp.com>)
Ответы Re: psql command line editor
Re: psql command line editor
Список pgsql-general
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.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Josh Kupershmidt
Дата:
Сообщение: Re: Pgbench tool download
Следующее
От: Nuno Mota
Дата:
Сообщение: Re: plpython return setof and yield