Re: psql \e and syntax highlighting in vim

Поиск
Список
Период
Сортировка
От Ireneusz Pluta
Тема Re: psql \e and syntax highlighting in vim
Дата
Msg-id 4BF2A6B7.6000105@wp.pl
обсуждение исходный текст
Ответ на psql \e and syntax highlighting in vim  (Ireneusz Pluta <ipluta@wp.pl>)
Список pgsql-novice
John Gage pisze:
> Please forgive this interruption.
>
> I am embarrassed to say that I do not know how to set the PSQL_EDITOR
> environmental variable.  It would be very convenient to know how.
>
> I have attempted to do it in bash (Mac OSX), but when I do, psql seems
> to ignore what I have done.
on freebsd and bash:

export PSQL_EDITOR='vim -c"set syntax=sql"'

To make it permanrent across logins, include that line in your
~/.profile, or, yet better, system wide profile (like /etc/profile), if
you have access.


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

Предыдущее
От: Leif Biberg Kristensen
Дата:
Сообщение: Re: psql \e and syntax highlighting in vim
Следующее
От: Ireneusz Pluta
Дата:
Сообщение: Re: psql \e and syntax highlighting in vim