Yes. As pgsql has readline support, make a ~/.inputrc file with the
following line:
set editing-mode vi
You will find a number of other programs, such as lftp and R enjoy vi
keystrokes too, through their support of readline!
Cheers
Rory
On 13/08/03, glenn (vmstech(at)tpg(dot)com(dot)au) wrote:
> Hi - is it possible to set my user interface (psql) to work with vi
> keystrokes (like in ksh: set -o vi)?
--
Rory Campbell-Lange
<rory(at)campbell-lange(dot)net>
<www.campbell-lange.net>